Private GIT

Skip to content
Snippets Groups Projects
Commit 8e62b15e authored by labrys's avatar labrys
Browse files

Fix unicode for History._get_actions.

parent 718405a3
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ class History: ...@@ -96,7 +96,7 @@ class History:
@staticmethod @staticmethod
def _get_actions(action): def _get_actions(action):
action = action.lower() if isinstance(action, str) else '' action = action.lower() if isinstance(action, (str, unicode)) else ''
if action == 'downloaded': if action == 'downloaded':
return Quality.DOWNLOADED return Quality.DOWNLOADED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment