mirror of
https://github.com/Tiendil/pynames.git
synced 2026-02-19 16:48:07 +01:00
return copy of internal name forms
This commit is contained in:
parent
584c389379
commit
30d93facce
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class Name(object):
|
||||||
forms = self.translations[gender][language]
|
forms = self.translations[gender][language]
|
||||||
|
|
||||||
if not isinstance(forms, basestring):
|
if not isinstance(forms, basestring):
|
||||||
return forms
|
return list(forms)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue