Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 22, 2019
1 parent 1bb08b9 commit 82eb048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foliatools/foliacat.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def main():
print("WARNING: only one file specified", file=sys.stderr)


outputdoc = foliacat(id, args.outputfile, *args.files, keepversion=not args.upgrade)
if not args.outputfile or args.outputfile == '-':
outputdoc = foliacat(id, args.output, *args.files, keepversion=not args.upgrade)
if not args.output or args.output == '-':
print(outputdoc.xmlstring())

if __name__ == "__main__":
Expand Down

0 comments on commit 82eb048

Please sign in to comment.