aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)