Adding the prefix when minting new noid
This commit is contained in:
@@ -200,8 +200,8 @@ class Minter(Persistent):
|
|||||||
if self.template[-1] == "k":
|
if self.template[-1] == "k":
|
||||||
_id = self._checkchar(_id)
|
_id = self._checkchar(_id)
|
||||||
if _id is not None:
|
if _id is not None:
|
||||||
return _id
|
return self.prefix + _id
|
||||||
return _id
|
return self.prefix + _id
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user