Making watch directory configurable

This commit is contained in:
2022-01-11 18:21:19 +10:00
parent 0b68363c6e
commit d93f0869a7
2 changed files with 5 additions and 4 deletions

View File

@@ -12,7 +12,8 @@ import watchdog.events
import watchdog.observers
DATE_FORMAT = "%d/%m/%Y"
WATCH_DIR = os.path.dirname(os.path.realpath(__file__))
#WATCH_DIR = os.path.dirname(os.path.realpath(__file__))
WATCH_DIR = '/mnt/data/'
PATTERN = '*.qfx'
BACKUP_DIR = 'Imported'