Commit bc2581e2 authored by Administrator's avatar Administrator
Browse files

Use constructor of Meta correctly

parent 36ff1a14
......@@ -201,7 +201,7 @@ class Protocol(DatabaseModel):
for default_meta in self.protocoltype.metas:
if default_meta.key in remarks:
value = remarks[default_meta.key].value.strip()
meta = Meta(,, value)
meta = Meta(,, value=value)
Supports Markdown
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