Commit f2424b0b authored by Benedikt Geißler's avatar Benedikt Geißler 🐸

Fix eventual wrong order in list of dicts

parent 905f6ea7
Pipeline #12038 failed with stage
in 7 seconds
......@@ -200,7 +200,7 @@ class Resource(models.Model):
kv_dict.remove(date)
# Transform date into dict in order to process it eventually
dates_t.update(dict([date.values()]))
dates_t.update({date['name']: date['value']})
except ValueError:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment