merrecdarkin / Wil-Project-AEMO-CSV-Efficient-Reading-Sorting-and-Export-

WIL
MIT License
1 stars 0 forks source link

Crashes on empty root folder #13

Closed larryhuangdev closed 2 years ago

larryhuangdev commented 2 years ago

1. Description:

App crashes when buttons clicked but root folder not yet selected.

2. Steps to reproduce:

3. Error log:

Traceback (most recent call last):
File "...\GUI.py", line 88, in <module>
    relativeCSVFilePath = glob.glob('**/PUBLIC_BIDMOVE_COMPLETE*.csv', root_dir=currentFolderPath, recursive=True)
NameError: name 'currentFolderPath' is not defined

4. Expected results:

Error handling and visual output to notify users when root folder not yet selected.