Fix minor bugs caused from merging in setupcontroller; Initialize vscode example loading
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
from typing import Dict
|
||||
|
||||
import os
|
||||
import requests
|
||||
from typing import Dict
|
||||
|
||||
|
||||
def get_string(env, config: Dict[str, str]) -> str:
|
||||
@@ -12,12 +10,13 @@ def get_string(env, config: Dict[str, str]) -> str:
|
||||
|
||||
return config["string"]
|
||||
|
||||
|
||||
def get_command_line(env, config: Dict[str, str]) -> str:
|
||||
"""
|
||||
Config:
|
||||
string (str)
|
||||
"""
|
||||
|
||||
|
||||
f = os.popen(config["command"])
|
||||
|
||||
return f.read()
|
||||
|
||||
return f.read()
|
||||
|
||||
Reference in New Issue
Block a user