From 444a878b7116028b3ca513c801a3019404f058ec Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 15 Apr 2013 15:55:29 +0200 Subject: fix for ADOBECONNECT-92 --- meetingtools/apps/archive/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meetingtools/apps/archive/models.py b/meetingtools/apps/archive/models.py index 9d640f3..066378c 100644 --- a/meetingtools/apps/archive/models.py +++ b/meetingtools/apps/archive/models.py @@ -33,9 +33,9 @@ def publish_archive(room,sco_id,tags=None): with ac_api_client(acc) as api: ar,create = Archive.objects.get_or_create(sco=sco,folder_sco=folder_sco,room=room) ar.timecreated=info['timecreated'] - if info['description']: + if 'description' in info: ar.description = info['description'] - if info['name']: + if 'name' in info: ar.name = info['name'] ar.save() try: -- cgit v1.1