Skip to content

Commit

Permalink
#2: no need to alias long to int for python3, we can just use an int …
Browse files Browse the repository at this point in the history
…here. it's very unlikely to overflow.
  • Loading branch information
elenzil committed Aug 1, 2018
1 parent a4fe02c commit 8a91595
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions WonderPy/core/wwRobot.py
Expand Up @@ -3,7 +3,6 @@

if sys.version_info > (3, 0):
import queue
long = int
else:
import Queue as queue

Expand Down Expand Up @@ -32,7 +31,7 @@ def __init__(self, btleDevice):

self._command_queue = queue.Queue()

self._sensor_count = long(0)
self._sensor_count = 0
self._queues_waiting_for_sensors = set()

self._sensors = WWSensors (self)
Expand Down

0 comments on commit 8a91595

Please sign in to comment.