Skip to content

Commit

Permalink
Casting to string is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jun 15, 2015
1 parent 728ba13 commit 57b823d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion khal/khalendar/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def update(self, vevent, href, etag=''):
# after the corresponding rrule event
def sort_key(vevent):
assert isinstance(vevent, icalendar.Event) # REMOVE ME
uid = str(vevent['UID'])
uid = vevent['UID']
rec_id = vevent.get(RECURRENCE_ID)
if rec_id is None:
return uid, 0
Expand Down

0 comments on commit 57b823d

Please sign in to comment.