Discovered OLD code! Was using ReadButton!

This commit is contained in:
PySimpleGUI 2019-09-20 16:59:15 -04:00
parent 1d4ca6696f
commit e5e1021516
16 changed files with 95 additions and 61 deletions

View file

@ -19,7 +19,7 @@ def main():
sg.PopupCancel('Cancelled - No valid folder entered')
return
try:
namesonly = [f for f in os.listdir(folder) if f.endswith('.png') or f.endswith('.ico')]
namesonly = [f for f in os.listdir(folder) if f.endswith('.png') or f.endswith('.ico') or f.endswith('.gif')]
except:
sg.PopupCancel('Cancelled - No valid folder entered')
return