mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2024-11-28 20:09:58 +00:00
commit
c56931ef71
3
file.py
3
file.py
@ -42,10 +42,11 @@ def check_file(input_dir, output_dir, Release_version = True):
|
||||
|
||||
def error_messages(file_list, files_removed):
|
||||
|
||||
if len(files_removed) ==0:
|
||||
if files_removed is None:
|
||||
return
|
||||
|
||||
for remove_this,reason in files_removed:
|
||||
if(file_list is not None):
|
||||
file_list.remove(remove_this)
|
||||
if reason == 0:
|
||||
print(" REMOVED : (" + str(remove_this) +") is not PNG file format")
|
||||
|
Loading…
Reference in New Issue
Block a user