distributed: fix division exception in ServerRepository

change operator to double slash for integer division

Closes #762
This commit is contained in:
fireclawthefox 2019-10-28 20:35:16 +01:00 committed by rdb
parent e1df400f87
commit b3c79096e5

View File

@ -137,7 +137,7 @@ class ServerRepository:
# An allocator object that assigns the next doIdBase to each
# client.
self.idAllocator = UniqueIdAllocator(0, 0xffffffff / self.doIdRange)
self.idAllocator = UniqueIdAllocator(0, 0xffffffff // self.doIdRange)
self.dcFile = DCFile()
self.dcSuffix = ''