Skip to content

Commit

Permalink
maybe output bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CMA2401PT committed Aug 5, 2022
1 parent 311cd73 commit 8e06bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omega/components/omega_side/omega_side.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (o *OmegaSide) runCmd(subProcessName string, cmdStr string, remapping map[s
if readString == "" {
continue
}
o.Frame.GetBackendDisplay().Write(Info.Sprint(readString))
Info.Println(readString)
}
}()
cmdErr, err := cmd.StderrPipe()
Expand All @@ -154,7 +154,7 @@ func (o *OmegaSide) runCmd(subProcessName string, cmdStr string, remapping map[s
if readString == "" {
continue
}
o.Frame.GetBackendDisplay().Write(Error.Sprint(readString))
Error.Println(readString)
}
}()
go func() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def _on_close(self,*args):
def _on_error(self,ws, error):
print_stack()
print("ws error: ",error)
exit(0)

def _on_resp(self,resp:ResponseMsg):
self.api._on_resp(resp=EasyDict(resp))
Expand Down

0 comments on commit 8e06bb5

Please sign in to comment.