Minor change

This commit is contained in:
Anas 2021-09-07 13:04:17 +03:00 committed by GitHub
parent 8f23abb8ab
commit 15718f913b
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,9 +400,12 @@ if os.path.exists('drive_folder'):
with open('drive_folder', 'r+') as f:
lines = f.readlines()
for line in lines:
temp = line.strip().split()
DRIVES_NAMES.append(temp[0].replace("_", " "))
DRIVES_IDS.append(temp[1])
try:
temp = line.strip().split()
DRIVES_IDS.append(temp[1])
DRIVES_NAMES.append(temp[0].replace("_", " "))
except:
DRIVES_NAMES.append(None)
try:
INDEX_URLS.append(temp[2])
except IndexError as e: