Update Config Location
This commit is contained in:
parent
ecf1dede6d
commit
8cfb792be9
@ -8,7 +8,7 @@ from threading import Thread
|
|||||||
|
|
||||||
class ScreenshotManager:
|
class ScreenshotManager:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.__config_path = os.environ.get("CONFIG_FILE", "/data/config.conf")
|
self.__config_path = os.environ.get("CONFIG_FILE", "/data/config.yml")
|
||||||
self.data_path = tempfile.gettempdir()
|
self.data_path = tempfile.gettempdir()
|
||||||
|
|
||||||
if not Path(self.__config_path).is_file():
|
if not Path(self.__config_path).is_file():
|
||||||
|
Loading…
Reference in New Issue
Block a user