Skip to content

Commit

Permalink
fix encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevel committed Mar 21, 2021
1 parent 4e45124 commit cab0e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check_omd.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def get_site_status():
cmd, stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE
)
res, err = proc.communicate()
err = err.decode('utf-8')

if err:
if "no such site" in err:
Expand Down

0 comments on commit cab0e12

Please sign in to comment.