1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 05:06:44 +02:00

fetch.py: report when files are already downloaded

This commit is contained in:
Anatoli Babenia
2021-11-13 21:04:46 +03:00
parent 140b64d5cb
commit b918a33200
+1
View File
@@ -91,6 +91,7 @@ def fetch_all(skip_existing=True):
if os.path.exists(location):
if skip_existing:
existing_locations.append(location)
print("Already exists %s" % (location))
else:
fatal("%s already exists" % location)