1.1 --- a/tools/invite.py Sat Oct 07 00:39:09 2017 +0200
1.2 +++ b/tools/invite.py Sat Oct 07 01:11:21 2017 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Prepare an invitation message.
1.6
1.7 -Copyright (C) 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -22,7 +22,7 @@
1.13 from datetime import datetime
1.14 from imiptools.data import get_address, make_uid, new_object
1.15 from imiptools.dates import get_datetime, get_datetime_item, \
1.16 - get_default_timezone \
1.17 + get_default_timezone
1.18 from imiptools.period import Period
1.19 from imiptools.mail import Messenger
1.20 from os.path import split
1.21 @@ -48,9 +48,7 @@
1.22
1.23 # Create an event for the calendar with the organiser and attendee details.
1.24
1.25 - e = new_object("VEVENT")
1.26 - e["UID"] = [(make_uid(organiser), {})]
1.27 - e["ORGANIZER"] = [(organiser, {})]
1.28 + e = new_object("VEVENT", organiser)
1.29
1.30 attendees = []
1.31