4dc9958760f2992930f427d453b1d45f566a8fe4 — Ellie Mae Galyean 4 months ago 0aecd50
Forgot if name main block
1 files changed, 4 insertions(+), 1 deletions(-)

M plr.py
M plr.py => plr.py +4 -1
@@ 17,7 17,7 @@ else:
          linkfunc = getWebArchiveLink
      if args.output.name != '<stdout>':
-         writeoutput = output.write
+         writeoutput = args.output.write
      else:
          writeoutput = print
      for line in args.input:


@@ 26,3 26,6 @@ else:
              print("Not a url, skipping")
  
+ if __name__ == '__main__':
+     main()
+