Merge remote-tracking branch 'upstream/develop' into util
This commit is contained in:
commit
f8e6ec1e9c
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class NameGenerator(object):
|
||||||
|
|
||||||
for name_part in name_parts:
|
for name_part in name_parts:
|
||||||
part = random.choice(self.parts[name_part])
|
part = random.choice(self.parts[name_part])
|
||||||
name = name.replace("{{}}".format(name_part), part)
|
name = name.replace("\{{}\}".format(name_part), part)
|
||||||
|
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
|
Reference in a new issue