diff options
author | clarkzjw <[email protected]> | 2023-08-17 00:28:22 -0700 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-08-17 00:28:22 -0700 |
commit | d1e1eeb51fd1bc8d902dd6248b6c1bd0ab7a9095 (patch) | |
tree | 41f81bc0ef4f8cb923e99e47d38857899cb38111 /square.py | |
parent | b4758633c7f2e535365855627bceae046f0e0558 (diff) | |
download | Square-d1e1eeb51fd1bc8d902dd6248b6c1bd0ab7a9095.tar.gz |
fix paths
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(".") |