Fix FutureWarning

This commit is contained in:
croneter 2018-07-10 20:28:06 +02:00
parent ad54059289
commit 1626436094

View file

@ -69,7 +69,7 @@ class ThreadedProcessMetadata(Thread):
continue continue
# Do the work # Do the work
item_method = getattr(item_class, item['method']) item_method = getattr(item_class, item['method'])
if item.get('children'): if item.get('children') is not None:
item_method(item['xml'][0], item_method(item['xml'][0],
viewtag=item['view_name'], viewtag=item['view_name'],
viewid=item['view_id'], viewid=item['view_id'],