Skip to content

Commit

Permalink
MAINT: force int under python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLP committed Jan 6, 2019
1 parent 7ee7606 commit 5258f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basil/TL/SiTcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def reset(self):
def reset_fifo(self):
with self._tcp_lock:
fifo_size = self._get_tcp_data_size()
fifo_int_size = (fifo_size - (fifo_size % 4)) / 4
fifo_int_size = int((fifo_size - (fifo_size % 4)) / 4)
del_size = fifo_int_size * 4
self._tcp_read_buff = self._tcp_read_buff[del_size:]

Expand Down

0 comments on commit 5258f3a

Please sign in to comment.