Update main.py

This commit is contained in:
Saifeddine ALOUI 2024-01-16 10:16:18 +01:00 committed by GitHub
parent e9932ffefe
commit 1666941630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def get_authorized_users(filename):
lines = f.readlines() lines = f.readlines()
authorized_users = {} authorized_users = {}
for line in lines: for line in lines:
user, key = line.strip().split(',') user, key = line.strip().split(':')
authorized_users[user] = key authorized_users[user] = key
return authorized_users return authorized_users