Fix action_space setup
This commit is contained in:
@@ -21,6 +21,8 @@ class SetupController:
|
||||
# can add other setup steps
|
||||
|
||||
def _download_setup(self, config):
|
||||
if not config:
|
||||
return
|
||||
if not 'download' in config:
|
||||
return
|
||||
for url, path in config['download']:
|
||||
@@ -43,6 +45,8 @@ class SetupController:
|
||||
print("An error occurred while trying to send the request:", e)
|
||||
|
||||
def _change_wallpaper(self, config):
|
||||
if not config:
|
||||
return
|
||||
if not 'wallpaper' in config:
|
||||
return
|
||||
path = config['wallpaper']
|
||||
@@ -68,6 +72,8 @@ class SetupController:
|
||||
raise NotImplementedError
|
||||
|
||||
def _open_setup(self, config):
|
||||
if not config:
|
||||
return
|
||||
if not 'open' in config:
|
||||
return
|
||||
for path in config['open']:
|
||||
|
||||
Reference in New Issue
Block a user