Move download all setting to config.py

This commit is contained in:
Jan Bader
2026-04-12 22:37:35 +02:00
parent 038d239033
commit 0eee28968f
3 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import argparse
import logging
import os
import sys
from config import Config
@@ -42,7 +41,7 @@ def main():
if args.notes:
Config.INVOICE_NOTES = args.notes
if args.all_years:
os.environ["DOWNLOAD_ALL_YEARS"] = "true"
Config.DOWNLOAD_ALL_YEARS = True
try:
Config.validate()