Minor change
This commit is contained in:
parent
8f23abb8ab
commit
15718f913b
|
|
@ -400,9 +400,12 @@ if os.path.exists('drive_folder'):
|
||||||
with open('drive_folder', 'r+') as f:
|
with open('drive_folder', 'r+') as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
for line in lines:
|
for line in lines:
|
||||||
temp = line.strip().split()
|
try:
|
||||||
DRIVES_NAMES.append(temp[0].replace("_", " "))
|
temp = line.strip().split()
|
||||||
DRIVES_IDS.append(temp[1])
|
DRIVES_IDS.append(temp[1])
|
||||||
|
DRIVES_NAMES.append(temp[0].replace("_", " "))
|
||||||
|
except:
|
||||||
|
DRIVES_NAMES.append(None)
|
||||||
try:
|
try:
|
||||||
INDEX_URLS.append(temp[2])
|
INDEX_URLS.append(temp[2])
|
||||||
except IndexError as e:
|
except IndexError as e:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue