Skip to content
Snippets Groups Projects
Commit a484051c authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

minor

parent 816fba33
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
#
# Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2019 Henrik tom Wörden
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
......@@ -78,6 +79,7 @@ class AbstractCFood(object):
# move to api?
def set_property(entity, prop, value):
# TODO only do something when it is necessary?
if isinstance(prop, db.Entity):
name = prop.name
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment