Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix http port #9

Merged
merged 1 commit into from Oct 24, 2020
Merged

Fix http port #9

merged 1 commit into from Oct 24, 2020

Conversation

splhack
Copy link
Contributor

@splhack splhack commented Oct 24, 2020

cast 'port' str to int

>>> import ecp5
>>> ecp5.prog("http://192.168.1.1:8080/blink_85f.bit")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ecp5.py", line 627, in prog
  File "ecp5.py", line 621, in filedata_gz
  File "ecp5.py", line 504, in open_web
TypeError: can't convert str to int

cast str to int
@emard emard merged commit 7e2f57e into emard:master Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants