1.1 --- a/imipweb/calendar.py Tue Dec 20 16:43:44 2016 +0100
1.2 +++ b/imipweb/calendar.py Tue Dec 20 23:21:56 2016 +0100
1.3 @@ -20,7 +20,8 @@
1.4 """
1.5
1.6 from datetime import datetime, timedelta
1.7 -from imiptools.data import get_address, get_uri, get_verbose_address, uri_parts
1.8 +from imiptools.data import get_address, get_uri, get_verbose_address, make_uid, \
1.9 + uri_parts
1.10 from imiptools.dates import format_datetime, get_date, get_datetime, \
1.11 get_datetime_item, get_end_of_day, get_start_of_day, \
1.12 get_start_of_next_day, get_timestamp, ends_on_same_day, \
1.13 @@ -118,8 +119,7 @@
1.14
1.15 # Invent a unique identifier.
1.16
1.17 - utcnow = get_timestamp()
1.18 - uid = "imip-agent-%s-%s" % (utcnow, get_address(self.user))
1.19 + uid = make_uid(self.user)
1.20
1.21 # Create a calendar object and store it as a request.
1.22