Skip to content
Snippets Groups Projects
Commit 08baf687 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with export.

parent 6b0eade1
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ class BaseJob(dict, Thread, object):
exported = {}
for key, val in self.iteritems():
if key.startswith('_') or (props is not None and key in props):
if key.startswith('_') or (props is not None and key not in props):
continue
if isinstance(val, datetime):
now = datetime.now()
......
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