Store copy of variables of list config items to be able to read the original value

This commit is contained in:
shortcutme 2018-07-10 03:45:33 +02:00
parent e001448adb
commit 731b79fc6c
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,6 @@ class Config(object):
except Exception as err:
print "Error loading trackers files: %s" % err
# Find arguments specified for current action
def getActionArguments(self):
back = {}
@ -409,6 +408,8 @@ class Config(object):
if self.arguments:
args = vars(self.arguments)
for key, val in args.items():
if type(val) is list:
val = val[:]
setattr(self, key, val)
def loadPlugins(self):