mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
parent
56d3d8f09b
commit
a4d4769457
@ -32,7 +32,7 @@ class Service(object):
|
||||
self.http = http
|
||||
|
||||
# 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"),
|
||||
service=self.__class__.__name__.lower()).get_variable(), config.get_variable())
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user