diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-29 13:11:25 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-29 13:11:25 +0200 |
commit | f028ea21643dabbcbed91c0cf120e908d9fd74e4 (patch) | |
tree | 0d0df8cefe3ce108d84ff1d5a5cdd7a719f26d4d | |
parent | vertical concatanate images, resize images (diff) | |
download | scout-subs-f028ea21643dabbcbed91c0cf120e908d9fd74e4.tar.gz scout-subs-f028ea21643dabbcbed91c0cf120e908d9fd74e4.zip |
fix missing value for doc preview
-rw-r--r-- | server/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/views.py b/server/views.py index dec4e11..26d5b2a 100644 --- a/server/views.py +++ b/server/views.py @@ -881,6 +881,7 @@ def docpreview(request): # get document document = Document.objects.filter(code=code)[0] + parent_group = document.user.groups.values_list('name', flat=True)[0] # prepare images in base64 vac_file = "" |