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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user