mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
IncrementalUIDGenerator: normalize SID to strings
This commit is contained in:
parent
11bbbfba19
commit
fa3d230ac9
2
utils.py
2
utils.py
@ -34,7 +34,7 @@ class IncrementalUIDGenerator():
|
||||
"%s by defining self.allowedchars and self.length "
|
||||
"and then calling super().__init__()." % self.__class__.__name__)
|
||||
self.uidchars = [self.allowedchars[0]]*self.length
|
||||
self.sid = sid
|
||||
self.sid = str(sid)
|
||||
|
||||
def increment(self, pos=None):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user