ZeroPhone / ZPUI

Official ZeroPhone UI framework, based on pyLCI
http://zpui.rtfd.org/
Apache License 2.0
78 stars 19 forks source link

PathPicker - detect if chosen directory does not exist #140

Open CRImier opened 5 years ago

CRImier commented 5 years ago

If the directory picked does not exist, PathPicker will likely fail. Instead, we could traverse the tree upwards until we find an existing directory (an example of such traversal is available in apps/hardware_apps/avrdude/main.py:394).