Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Jun 8, 2024
1 parent 04d0217 commit eaf5c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htagweb/fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ async def com(self,command:str,**args) -> "str|dict": # for client only
try:
c = json.loads(frame.strip())
except json.decoder.JSONDecodeError as e:
raise Exception(f"fifo jcom json error '{e}' : >>>{frame.strip()}<<<")
raise Exception(f"fifo com json error '{e}' : >>>{frame.strip()}<<<")
if "err" in c:
raise Exception(f"com error : {c['err']}")
raise Exception(f"hrprocess error : {c['err']}")
return c["response"]


Expand Down

0 comments on commit eaf5c22

Please sign in to comment.