cleanup/fixes

This commit is contained in:
2022-12-19 19:05:35 -05:00
parent 795b6e2e2e
commit a074d8cf10
6 changed files with 6 additions and 13 deletions

View File

@@ -251,7 +251,7 @@ class Sist2:
@staticmethod
def _consume_logs_stderr(logs_cb, proc):
pipe_wrapper = TextIOWrapper(proc.stderr, encoding="utf8")
pipe_wrapper = TextIOWrapper(proc.stderr, encoding="utf8", errors="ignore")
try:
for line in pipe_wrapper:
if line.strip() == "":
@@ -263,7 +263,7 @@ class Sist2:
@staticmethod
def _consume_logs_stdout(logs_cb, proc):
pipe_wrapper = TextIOWrapper(proc.stdout, encoding="utf8")
pipe_wrapper = TextIOWrapper(proc.stdout, encoding="utf8", errors="ignore")
try:
for line in pipe_wrapper:
if line.strip() == "":

View File

@@ -13,7 +13,6 @@ class Sist2Frontend(BaseModel):
running: bool = False
auto_start: bool = False
enable_monitoring: bool = True
extra_query_args: str = ""
custom_url: str = None