Skip to content

Commit

Permalink
Fix missing b'' after adding unicode literals
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Jul 18, 2016
1 parent cf70721 commit 0b239b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/properFinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _get_proper_results(self): # pylint: disable=too-many-locals, too-many-bran
continue

# only keep the proper if we have already retrieved the same quality ep (don't get better/worse ones)
old_status, old_quality = Quality.splitCompositeStatus(int(sql_results[0]['status']))
old_status, old_quality = Quality.splitCompositeStatus(int(sql_results[0][b'status']))
if old_status not in (DOWNLOADED, SNATCHED) or old_quality != best_result.quality:
logger.log('Ignoring proper because quality is different or episode is already archived: {name}'.format
(name=best_result.name))
Expand Down

0 comments on commit 0b239b7

Please sign in to comment.