BitgesellOfficial / bitgesell

Bitgesell (BGL) is a digital currency with built-in scarcity
https://www.bitgesell.ca
MIT License
23 stars 37 forks source link

New error #72

Closed ayushkumar63123 closed 2 years ago

ayushkumar63123 commented 2 years ago

I got one more error in my forked repository bitgesell after solving the previous errors. Run # stop the build if there are Python syntax errors or undefined names

stop the build if there are Python syntax errors or undefined names

flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics

exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide

flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics shell: /usr/bin/bash -e {0} env: pythonLocation: /opt/hostedtoolcache/Python/3.10.0/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.0/x64/lib ./contrib/seeds/makeseeds.py:115:45: F821 undefined name 'dns' asn = int([x.to_text() for x in dns.resolver.query('.'.join(reversed(ip['ip'].split('.'))) + '.origin.asn.cymru.com', 'TXT').response.answer][0].split('\"')[1].split(' ')[0]) ^ 1 F821 undefined name 'dns' 1 Error: Process completed with exit code 1.

ayushkumar63123 commented 2 years ago

I am working on the above error. Please help if you can, else I will try to solve this on my own.