Commit cf0821cd authored by echel0n's avatar echel0n
Browse files

Fixed issue #151 - using unicode instead of str to result post-process results

parent 4323d844
# Changelog
- * 84cd66d - 2017-12-10: Refactored database calls, resolves memory usage issues
- * b23202e - 2017-12-11: Fixed issue #151 - using unicode instead of str to result post-process results
- * 4323d84 - 2017-12-10: Refactored database calls, resolves memory usage issues
- * 0d8b4d1 - 2017-12-10: Small memory footprint improvement
- * f2d7dc6 - 2017-12-10: Release v9.2.61
- * 656a038 - 2017-12-10: Overall stats now only displayed for main shows page, helps reduce overhead
......
......@@ -47,10 +47,6 @@ class ProcessResult(object):
def __unicode__(self):
return self.output
def __str__(self):
return self.__unicode__().encode('utf-8', errors='replace')
def delete_folder(folder, check_empty=True):
"""
Removes a folder from the filesystem
......
......@@ -194,7 +194,7 @@ class PostProcessorItem(srQueueItem):
try:
sickrage.app.log.info("Started {} post-processing job for: {}".format(self.proc_type, self.dirName))
self.result = str(processDir(
self.result = unicode(processDir(
dirName=self.dirName,
nzbName=self.nzbName,
process_method=self.process_method,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment