mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-12-02 16:14:15 +01:00
parent
56d3d8f09b
commit
a4d4769457
@ -32,7 +32,7 @@ class Service(object):
|
|||||||
self.http = http
|
self.http = http
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
if os.path.isfile(config.get("configfile")):
|
if config.get("configfile") and os.path.isfile(config.get("configfile")):
|
||||||
self.config = merge(readconfig(setup_defaults(), config.get("configfile"),
|
self.config = merge(readconfig(setup_defaults(), config.get("configfile"),
|
||||||
service=self.__class__.__name__.lower()).get_variable(), config.get_variable())
|
service=self.__class__.__name__.lower()).get_variable(), config.get_variable())
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user