Commit 131c5448 authored by Francesco Poldi's avatar Francesco Poldi

Fixed check for loadUserList

parent 65239911
......@@ -57,7 +57,7 @@ def check(args):
error("Error", "Please specify --proxy-host, --proxy-port and --proxy-type")
def loadUserList(ul):
if not isinstance(ul, str):
if os.path.isfile(ul):
userlist = open(ul, "r").readline()
else:
userlist = ul.split(",")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment