summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author--global <--global>2014-02-19 11:14:22 -0500
committer--global <--global>2014-02-19 11:14:22 -0500
commit68c82ea52db08cde30218665d03a90093916f1b5 (patch)
treeed59a1b04fd8ff1e961b2f06401bb76977a721cc
parentf64c8d5e4162ccd034e4ab8fe7a3760b0282d1f0 (diff)
downloadpykolab-68c82ea52db08cde30218665d03a90093916f1b5.tar.gz
Fix encoding error in icalendar module when returning integer values
-rw-r--r--pykolab/xml/event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index 9145a45..f2a51e6 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -467,7 +467,7 @@ class Event(object):
return organizer
def get_priority(self):
- return self.event.priority()
+ return str(self.event.priority())
def get_start(self):
_datetime = self.event.start()