Update main.py

This commit is contained in:
Saifeddine ALOUI 2024-01-22 09:39:48 +01:00 committed by GitHub
parent 82fa250ba8
commit 23cc414312
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ def get_authorized_users(filename):
lines = f.readlines()
authorized_users = {}
for line in lines:
if line=="":
continue
try:
user, key = line.strip().split(':')
authorized_users[user] = key