Skip to content

Commit 1c43cbb

Browse files
author
Ram Rachum
committed
-
1 parent 8ababbf commit 1c43cbb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

garlicsim/garlicsim/general_misc/persistent/personality.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ def __init__(self, persistent):
3737

3838
u = int(persistent._CrossProcessPersistent__uuid)
3939

40-
(u, human_name_seed) = divmod(u, 5494)
40+
(u, human_name_seed) = divmod(
41+
u,
42+
len(human_names.name_list)
43+
)
4144
self.human_name = human_names.name_list[human_name_seed]
4245
'''A human name. (e.g. "Jeffrey".)'''
4346

0 commit comments

Comments
 (0)