Skip to content
Snippets Groups Projects
Commit b118c2d0 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Bugfix in _FileOrThing.__prepareThings

parent 68edbe72
No related branches found
No related tags found
No related merge requests found
......@@ -558,8 +558,8 @@ class _FileOrThing(object):
allargs = {k : v for k, v in zip(argnames, args)}
allargs.update(kwargs)
if len(self.__things) == 0: things = self.__things
else: things = allargs.keys()
if len(self.__things) > 0: things = self.__things
else: things = allargs.keys()
for name in things:
......
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