This commit is contained in:
Ruud
2011-10-22 22:10:54 +02:00
parent 36b9132349
commit 9cf61e6b93
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
from couchpotato import get_session from couchpotato import get_session
from couchpotato.api import addApiView from couchpotato.api import addApiView
from couchpotato.core.event import addEvent, fireEvent from couchpotato.core.event import addEvent
from couchpotato.core.helpers.encoding import toUnicode from couchpotato.core.helpers.encoding import toUnicode
from couchpotato.core.helpers.request import jsonified, getParams from couchpotato.core.helpers.request import jsonified, getParams
from couchpotato.core.helpers.variable import mergeDicts from couchpotato.core.helpers.variable import mergeDicts
+1 -1
View File
@@ -121,7 +121,7 @@ class Updater(Plugin):
for excess_pyc_file in excess_pyc_files: for excess_pyc_file in excess_pyc_files:
full_path = os.path.join(root, excess_pyc_file) full_path = os.path.join(root, excess_pyc_file)
log.debug("Removing old PYC file:", full_path) log.debug("Removing old PYC file:" % full_path)
try: try:
os.remove(full_path) os.remove(full_path)
except: except:
@@ -1,5 +1,5 @@
var UpdaterBase = new Class({ var UpdaterBase = new Class({
Implements: [Events], Implements: [Events],
initialize: function(){ initialize: function(){
@@ -35,7 +35,7 @@ var UpdaterBase = new Class({
}, (timeout || 0)) }, (timeout || 0))
}, },
getInfo: function(){ getInfo: function(){
return this.json; return this.json;
}, },