Add Male entry to GENDERS in nethack import script
This commit is contained in:
parent
828bcb0f94
commit
2011ccdd78
1 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ ROLES = {
|
|||
|
||||
GENDERS = {
|
||||
'Fem': 'Female',
|
||||
'Mal': 'Male',
|
||||
}
|
||||
|
||||
ALIGNMENTS = {
|
||||
|
@ -143,7 +144,7 @@ def main(argv):
|
|||
if output_path and output_path != '-':
|
||||
with open(output_path, 'r') as existing_logfile:
|
||||
existing_logfile_object = json.load(existing_logfile)
|
||||
logfile_has_changed = existing_logfile_object.get('logfile', {}) != records
|
||||
logfile_has_changed = existing_logfile_object.get('logfile', {}) != records
|
||||
|
||||
if logfile_has_changed:
|
||||
output_file = open(output_path, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue