Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

NameError: global name 'f' is not defined #3

Open
w-biggs opened this issue Apr 12, 2019 · 1 comment
Open

NameError: global name 'f' is not defined #3

w-biggs opened this issue Apr 12, 2019 · 1 comment

Comments

@w-biggs
Copy link

w-biggs commented Apr 12, 2019

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
Copy link
Author

w-biggs commented Apr 12, 2019

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

roccodev added a commit to roccodev/ARCTool that referenced this issue Jun 26, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant