summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/utils/widgets.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py
index 170cc88..c688518 100644
--- a/app/utils/widgets.py
+++ b/app/utils/widgets.py
@@ -130,7 +130,12 @@ def parse_image(s):
if cl[0] == 'cluster':
cluster_class = cl[1]
try:
- extra = cl[2]
+ if cl[2] == 'caption':
+ caption = True
+ elif cl[2] == 'exif':
+ exif = True
+ else:
+ extra = cl[2]
except:
pass
if len(cl) > 1: