diff options
Diffstat (limited to 'square.py')
-rwxr-xr-x | square.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ def drop_shadow(image, offset=(5, 5), background=0xffffff, shadow=0x444444, bord | |||
67 | if __name__ == "__main__": | 67 | if __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(".") |