Skip to content

Commit

Permalink
rtplot -- bug in setup windows section
Browse files Browse the repository at this point in the history
minor
  • Loading branch information
trmrsh committed Apr 27, 2021
1 parent bdf347d commit f2ff09e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hipercam/scripts/rtplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ def rtplot(args=None):

else:
# OK, got something
got_windows = True
lines = r.text.split("\r\n")
xbinh, ybinh, nwinh = lines[0].split()
xbinh, ybinh, nwinh = int(xbinh), int(ybinh), int(nwinh)
Expand All @@ -701,8 +702,6 @@ def rtplot(args=None):
)
got_windows = False

got_windows = True

except (
requests.exceptions.ConnectionError,
socket.timeout,
Expand Down

0 comments on commit f2ff09e

Please sign in to comment.