Skip to content

Commit

Permalink
fix: discarded output
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Sep 2, 2020
1 parent 194a08c commit ab5647e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courlan/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def main():
# proceed with discarded URLs. to be rewritten
elif args.discardedfile is not None:
with open(args.discardedfile, 'a', encoding='utf-8') as discardfh:
discardfh.write(result[0] + '\n')
discardfh.write(line)
else:
urllist = list()
with open(args.inputfile, 'r', encoding='utf-8', errors='ignore') as inputfh:
Expand Down

0 comments on commit ab5647e

Please sign in to comment.