Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30916cd

Browse files
committed
[Fix] Overwrite for tokens as well
Previously only had overwrite for account labels
1 parent 35bf798 commit 30916cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def getAllLabels(overwrite=False):
306306
time.sleep(1) # Give 1s interval to prevent RL
307307

308308
for label in labels:
309-
if (os.path.exists(savePath + 'tokens/{}.json'.format(label))
309+
if (not overwrite and os.path.exists(savePath + 'tokens/{}.json'.format(label))
310310
or os.path.exists(savePath + 'tokens/empty/{}.json'.format(label))):
311311
print(label, "'s token labels already exist, skipping.")
312312
continue

0 commit comments

Comments
 (0)