BaseDIR korrigiert
This commit is contained in:
parent
fafb4321f9
commit
88c8fac003
1 changed files with 2 additions and 3 deletions
|
|
@ -62,10 +62,9 @@ with open(categories_file, encoding="utf-8") as f:
|
|||
# Verzeichnisse bestimmen
|
||||
# --------------------------------------------------
|
||||
|
||||
base_dir = Path.home() / "Transaktionen"
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
|
||||
if not base_dir.exists():
|
||||
base_dir = Path(__file__).parent / "Transaktionen"
|
||||
base_dir = BASE_DIR / "Transaktionen"
|
||||
|
||||
year_dir = base_dir / str(year)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue