Move path-related constants from config.py to path.py

This commit is contained in:
Micah Jerome Ellison 2023-03-25 13:02:29 -07:00
parent 9af23e477e
commit 61da4a0b1b
2 changed files with 2 additions and 5 deletions

View file

@ -23,9 +23,6 @@ from jrnl.path import get_config_path
from jrnl.path import get_default_journal_path
# Constants
DEFAULT_CONFIG_NAME = "jrnl.yaml"
DEFAULT_JOURNAL_NAME = "journal.txt"
DEFAULT_JOURNAL_KEY = "default"
YAML_SEPARATOR = ": "

View file

@ -6,8 +6,6 @@ from pathlib import Path
import xdg.BaseDirectory
from jrnl.config import DEFAULT_CONFIG_NAME
from jrnl.config import DEFAULT_JOURNAL_NAME
from jrnl.exception import JrnlException
from jrnl.messages import Message
from jrnl.messages import MsgStyle
@ -15,6 +13,8 @@ from jrnl.messages import MsgText
# Constants
XDG_RESOURCE = "jrnl"
DEFAULT_CONFIG_NAME = "jrnl.yaml"
DEFAULT_JOURNAL_NAME = "journal.txt"
def home_dir() -> str: