Update main.py
This commit is contained in:
parent
82fa250ba8
commit
23cc414312
|
@ -30,6 +30,8 @@ def get_authorized_users(filename):
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
authorized_users = {}
|
authorized_users = {}
|
||||||
for line in lines:
|
for line in lines:
|
||||||
|
if line=="":
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
user, key = line.strip().split(':')
|
user, key = line.strip().split(':')
|
||||||
authorized_users[user] = key
|
authorized_users[user] = key
|
||||||
|
|
Loading…
Reference in New Issue