Fixed namegen
This commit is contained in:
parent
ea39a6fbb9
commit
8e545b3a31
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class NameGenerator(object):
|
|||
|
||||
for name_part in name_parts:
|
||||
part = random.choice(self.parts[name_part])
|
||||
name = name.replace("\{{}\}".format(name_part), part)
|
||||
name = name.replace("{" + name_part + "}", part)
|
||||
|
||||
return name
|
||||
|
||||
|
|
Reference in a new issue