Bug fixes at Mordante's request.
This commit is contained in:
parent
b3a790b97f
commit
776cafb353
1 changed files with 3 additions and 3 deletions
|
@ -1053,10 +1053,10 @@ def translator(filename, mapxforms, textxform):
|
|||
and line.count("{") == 0
|
||||
and line.count("}") == 0):
|
||||
if map_only:
|
||||
if "mask" in filename:
|
||||
maptype = "map"
|
||||
else:
|
||||
if filename.endswith(".mask"):
|
||||
maptype = "mask"
|
||||
else:
|
||||
maptype = "map"
|
||||
else:
|
||||
if "map_data" in line:
|
||||
maptype = "map"
|
||||
|
|
Loading…
Add table
Reference in a new issue