mirror of
https://github.com/FAUSheppy/ths-speech
synced 2025-12-09 09:58:35 +01:00
make dataDir configurable
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
import speech
|
import speech
|
||||||
import filesystem
|
import filesystem
|
||||||
|
from configparse_wrapper.cpwrap import CFG
|
||||||
|
|
||||||
|
MAIN_DIR = bytes(CFG("mainDataDir"),CFG("encoding"))
|
||||||
|
|
||||||
MAIN_DIR = b"data/"
|
|
||||||
|
|
||||||
def parse_request(data):
|
def parse_request(data):
|
||||||
''' parse request and call correct function '''
|
''' parse request and call correct function '''
|
||||||
|
|||||||
Reference in New Issue
Block a user