Skip to content

Commit

Permalink
wx.metadata/t.info.iso: fix write result to output file name destination
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 2, 2020
1 parent 8d05182 commit 45c99c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def main():

if not options['output']:
destination = None
name = None
output_name = None
else:
destination, name = os.path.split(options['output'])
destination, output_name = os.path.split(options['output'])

name = options["input"]
type_ = options["type"]
Expand All @@ -76,7 +76,7 @@ def main():
md.createTemporalISO()
md.saveXML(
path=destination,
xml_out_name=name,
xml_out_name=output_name,
overwrite=os.getenv('GRASS_OVERWRITE', False),
)

Expand Down

0 comments on commit 45c99c7

Please sign in to comment.