Created
March 31, 2020 15:43
-
-
Save tc87/5ef9709e29cfd4311bf5cf19d4b1397f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If the file exists and has the expected size, return. | |
if os.path.exists(file_path): | |
if "size" not in EXTERNAL_DEPENDENCIES[file_path]: | |
return | |
elif os.path.getsize(file_path) == EXTERNAL_DEPENDENCIES[file_path]["size"]: | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment