summarylogtreecommitdiffstats
path: root/0002-No-need-to-use-unicode-on-strs.patch
blob: c614eea367a6d5131854a079cd2624746862d4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f10a378cb1efc6fa73f0f113968efcc8221eb287 Mon Sep 17 00:00:00 2001
From: Olivier Mehani <olivier.mehani@nicta.com.au>
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 <olivier.mehani@nicta.com.au>
---
 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