瀏覽代碼

fix config path

master
Andreas Demmelbauer 3 年之前
父節點
當前提交
2dd24160a9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      demotape.py

+ 3
- 1
demotape.py 查看文件

@@ -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…
取消
儲存