aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-08-17 00:28:22 -0700
committerclarkzjw <[email protected]>2023-08-17 00:28:22 -0700
commitd1e1eeb51fd1bc8d902dd6248b6c1bd0ab7a9095 (patch)
tree41f81bc0ef4f8cb923e99e47d38857899cb38111 /square.py
parentb4758633c7f2e535365855627bceae046f0e0558 (diff)
downloadSquare-d1e1eeb51fd1bc8d902dd6248b6c1bd0ab7a9095.tar.gz
fix paths
Diffstat (limited to 'square.py')
-rwxr-xr-xsquare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/square.py b/square.py
index 9e01138..e0fba89 100755
--- a/square.py
+++ b/square.py
@@ -67,7 +67,7 @@ def drop_shadow(image, offset=(5, 5), background=0xffffff, shadow=0x444444, bord
67if __name__ == "__main__": 67if __name__ == "__main__":
68 files = glob.glob("*") 68 files = glob.glob("*")
69 for file in files: 69 for file in files:
70 if (file.endswith(".jpg") or file.endswith(".png")) \ 70 if (file.endswith(".JPG") or file.endswith(".png")) \
71 and (str.find(file, "result") == -1): 71 and (str.find(file, "result") == -1):
72 72
73 names = file.split(".") 73 names = file.split(".")
Powered by cgit v1.2.3 (git 2.41.0)