mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Move path-related constants from config.py to path.py
This commit is contained in:
parent
9af23e477e
commit
61da4a0b1b
2 changed files with 2 additions and 5 deletions
|
@ -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 = ": "
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue