mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Remove extraneous comment
This commit is contained in:
parent
2214efffcf
commit
e0a7e360f7
1 changed files with 0 additions and 3 deletions
|
@ -32,9 +32,6 @@ def get_config_path():
|
||||||
try:
|
try:
|
||||||
config_directory_path = xdg.BaseDirectory.save_config_path(XDG_RESOURCE)
|
config_directory_path = xdg.BaseDirectory.save_config_path(XDG_RESOURCE)
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
# .TODO raise a custom jrnl exception
|
|
||||||
# this is when XDG tries to create a directory with the same name as a file that exists
|
|
||||||
|
|
||||||
raise ConfigDirectoryPathIsFileException(
|
raise ConfigDirectoryPathIsFileException(
|
||||||
"The path to your jrnl configuration directory is a file, not a directory:\n"
|
"The path to your jrnl configuration directory is a file, not a directory:\n"
|
||||||
+ os.path.join(xdg.BaseDirectory.xdg_config_home, XDG_RESOURCE)
|
+ os.path.join(xdg.BaseDirectory.xdg_config_home, XDG_RESOURCE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue