Browse Source

Cleanup

pull/62/head
Ruud 14 years ago
parent
commit
9cf61e6b93
  1. 2
      couchpotato/core/plugins/quality/main.py
  2. 2
      couchpotato/core/plugins/updater/main.py
  3. 4
      couchpotato/core/plugins/updater/static/updater.js

2
couchpotato/core/plugins/quality/main.py

@ -1,6 +1,6 @@
from couchpotato import get_session
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.request import jsonified, getParams
from couchpotato.core.helpers.variable import mergeDicts

2
couchpotato/core/plugins/updater/main.py

@ -121,7 +121,7 @@ class Updater(Plugin):
for excess_pyc_file in excess_pyc_files:
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:
os.remove(full_path)
except:

4
couchpotato/core/plugins/updater/static/updater.js

@ -1,5 +1,5 @@
var UpdaterBase = new Class({
Implements: [Events],
initialize: function(){
@ -35,7 +35,7 @@ var UpdaterBase = new Class({
}, (timeout || 0))
},
getInfo: function(){
return this.json;
},

Loading…
Cancel
Save