diff options
author | Leif Johansson <leifj@sunet.se> | 2013-04-15 15:55:29 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-04-15 15:55:29 +0200 |
commit | 444a878b7116028b3ca513c801a3019404f058ec (patch) | |
tree | 694caa21b5e6cae91444a9e6dc651bad4e9bb108 | |
parent | 36e6ff9cbc9237f230a332c2ba3c4d951417b265 (diff) |
fix for ADOBECONNECT-92
-rw-r--r-- | meetingtools/apps/archive/models.py | 4 |
1 files 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: |