Update file.py

method spelling : lowwer()  -> lower()
This commit is contained in:
ccppoo 2019-04-23 13:47:10 +09:00 committed by GitHub
parent 569305e77b
commit 3a6936db56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ def check_file(input_dir, output_dir, Release_version = True):
# solving https://github.com/deeppomf/DeepCreamPy/issues/25
# appending in list with reason as tuple (file name, reason)
for lhs in file_list:
lhs.lowwer()
lhs.lower()
if not lhs.lower().endswith('.png') :
files_removed.append((lhs, 0))
for rhs in output_file_list: