Browse Source

fix config path

master
Andreas Demmelbauer 3 years ago
parent
commit
2dd24160a9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      demotape.py

+ 3
- 1
demotape.py View File

@@ -13,8 +13,10 @@ import asyncio
import concurrent.futures
import ntpath
import yaml
from pathlib import Path

with open(r'config.yaml') as file:
config_path = Path(__file__).parent / './config.yaml'
with config_path.open() as file:
config = yaml.load(file, Loader=yaml.FullLoader)

try:


Loading…
Cancel
Save