Minor: Potentially unintentionally adding filepaths to QUTE_STYLE_LOCATIONS.
ldunham1 opened this issue · 1 comments
ldunham1 commented
Line 24 in 3c5e1c3
os.path.isdir() will check if the path exists AND if its a directory.
Depending on usage, it might be "safer" to use than os.path.exists().
mikemalinowski commented
Nice find - i had not even considered that. Switched to os.path.isdir as per your suggestion.