diff --git a/memacs/ical.py b/memacs/ical.py index f796310..595caa0 100755 --- a/memacs/ical.py +++ b/memacs/ical.py @@ -142,8 +142,8 @@ def __handle_vevent(self, component): logging.debug(orgdate + " " + summary) # we need to set data_for_hashing=summary to really get a other sha1 - data_for_hashing=orgdate + summary - + data_for_hashing = orgdate + summary + org_properties = OrgProperties(data_for_hashing=data_for_hashing) if location != None: diff --git a/memacs/tests/ical_test.py b/memacs/tests/ical_test.py index e0a666c..64dd21c 100644 --- a/memacs/tests/ical_test.py +++ b/memacs/tests/ical_test.py @@ -17,7 +17,7 @@ def test_all(self): #for d in range(len(data)): # print "self.assertEqual(\n\tdata[%d],\n\t \"%s\")" % \ # (d, data[d]) - + self.assertEqual( data[0], "** <2012-05-28 Mon>--<2012-05-28 Mon> Whit Monday") @@ -581,4 +581,4 @@ def test_all(self): " :ID: fe605142ace6ab6268fc672fccece05219c17148") self.assertEqual( data[187], - " :END:") \ No newline at end of file + " :END:")