ARCTool icon indicating copy to clipboard operation
ARCTool copied to clipboard

NameError: global name 'f' is not defined

Open w-biggs opened this issue 6 years ago • 1 comments

Attempting to run the script throws this error:

  File "/usr/bin/ARCTool.py", line 397, in <module>
    main()
  File "/usr/bin/ARCTool.py", line 390, in main
    unu8(f, of)
  File "/usr/bin/ARCTool.py", line 320, in unu8
    dest.write(f.read(size))
NameError: global name 'f' is not defined

on Python 2.7.15rc1

w-biggs avatar Apr 12 '19 03:04 w-biggs

Replacing the f in that line with i seems to fix the issue. I can submit a pull request tomorrow maybe...

w-biggs avatar Apr 12 '19 03:04 w-biggs