Merge pull request #372 from ralexstokes/add-py36-compatibility

Add py36 compatibility
This commit is contained in:
Alex Stokes
2019-12-10 17:28:49 -08:00
committed by GitHub
11 changed files with 60 additions and 54 deletions

View File

@ -149,7 +149,7 @@ class Pubsub:
# Map of topic to topic validator
self.topic_validators = {}
self.counter = time.time_ns()
self.counter = int(time.time())
self._tasks = []
# Call handle peer to keep waiting for updates to peer queue