diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-10 11:02:33 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:22 +0100 |
commit | 20a9a040b572911462817806ec38d19e1a6b7e13 (patch) | |
tree | eeaf492e17708db5d1f1a482853eb33c117dd9d4 /ishtar_common/models.py | |
parent | addb5e55aaa3ee2f5c0d9bb7a88092bbfc80ba5b (diff) | |
download | Ishtar-20a9a040b572911462817806ec38d19e1a6b7e13.tar.bz2 Ishtar-20a9a040b572911462817806ec38d19e1a6b7e13.zip |
get_values: fix qrcode prefix
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e7d948d63..67e93fe13 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -164,7 +164,7 @@ class ValueGetter(object): values = {} if hasattr(self, "qrcode") and (not filtr or 'qrcode_path' in filtr): - values['qrcode_path'] = self.qrcode_path + values[prefix + 'qrcode_path'] = self.qrcode_path for field_name in get_all_field_names(self): try: value = getattr(self, field_name) |