Unicode errors. fix #600 #597

This commit is contained in:
Ruud
2012-07-15 16:25:59 +02:00
parent 31cd0f05ba
commit 897a7ea122
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
from couchpotato import get_session
from couchpotato.api import addApiView
from couchpotato.core.event import addEvent, fireEvent, fireEventAsync
from couchpotato.core.helpers.encoding import toUnicode
from couchpotato.core.helpers.encoding import toUnicode, ss
from couchpotato.core.helpers.request import jsonified
from couchpotato.core.helpers.variable import getExt, mergeDicts, getTitle
from couchpotato.core.logger import CPLog
@@ -419,6 +419,7 @@ class Renamer(Plugin):
raise
def moveFile(self, old, dest):
dest = ss(dest)
try:
shutil.move(old, dest)