Commit 5b429aaf authored by Francesco Poldi's avatar Francesco Poldi

Final fix for userlist

parent c7c3901d
......@@ -57,8 +57,8 @@ def check(args):
error("Error", "Please specify --proxy-host, --proxy-port and --proxy-type")
def loadUserList(ul):
if os.path.isfile(ul):
userlist = open(ul, "r").read().splitlines()
if os.path.exists(os.path.abspath(ul)):
userlist = open(os.path.abspath(ul), "r").read().splitlines()
else:
userlist = ul.split(",")
un = ""
......
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