From f10a378cb1efc6fa73f0f113968efcc8221eb287 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Wed, 18 Jun 2014 13:11:01 +1000 Subject: [PATCH 2/2] No need to use unicode() on strs Signed-off-by: Olivier Mehani --- GTG/plugins/hamster/hamster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GTG/plugins/hamster/hamster.py b/GTG/plugins/hamster/hamster.py index 2badf8b..cbc97d4 100644 --- a/GTG/plugins/hamster/hamster.py +++ b/GTG/plugins/hamster/hamster.py @@ -90,7 +90,7 @@ class hamsterPlugin: category = "" if self.preferences['category'] == 'auto_tag': - hamster_activities = dict([(str(x[0]), unicode(x[1])) + hamster_activities = dict([(str(x[0]), x[1]) for x in self.hamster.GetActivities('')]) if (gtg_title in hamster_activities -- 2.0.0