i18n, tests and more
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import yaml
|
||||
import os
|
||||
|
||||
config_file = "config.yml"
|
||||
workdir, filename = os.path.split(os.path.abspath(__file__))
|
||||
config_file = f"{workdir}{os.sep}config.yml"
|
||||
|
||||
|
||||
def get_config():
|
||||
@@ -13,3 +14,4 @@ class Config:
|
||||
def __init__(self, data):
|
||||
self.src = data['src']
|
||||
self.dst = data['dst']
|
||||
self.language = data['language']
|
||||
|
||||
Reference in New Issue
Block a user