Skip to content

Commit da316c3

Browse files
committed
feat: replace dashes with underscore in app name
1 parent 39817d0 commit da316c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging_conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from platformdirs import user_log_dir
2222

23-
MY_APP_NAME = "MY_APP_NAME"
23+
MY_APP_NAME = "MY_APP_NAME".replace("-", "_")
2424

2525
logging_dir = Path(user_log_dir(MY_APP_NAME))
2626
logging_dir.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)