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 | 99b583ae953b71840f986f26f827f55d445594a4 (patch) | |
tree | eeaf492e17708db5d1f1a482853eb33c117dd9d4 | |
parent | a51aec0053b95dcc0fb93dcfb0ad3be95ff39839 (diff) | |
download | Ishtar-99b583ae953b71840f986f26f827f55d445594a4.tar.bz2 Ishtar-99b583ae953b71840f986f26f827f55d445594a4.zip |
get_values: fix qrcode prefix
-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) |