Skip to content

1.14.1: fix: nonetype error when creating new folder (#57)

Compare
Choose a tag to compare
@braver braver released this 20 Jul 16:26
· 8 commits to master since this release
3e38f62
The new command uses the active view file name as the path from which to
construct the new folder, but when the view is empty there is no real
file on disk and the file name is None.

The `os.path` functions like `isdir` and `exists` raise a NoneType
exception when given None. This patch adds a NoneType check.

Close #55
Re #56