aio-libs / aiohttp-devtools

dev tools for aiohttp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot set port

Zhomart opened this issue · comments

I get following error:

$ AIO_PORT=8080 adev runserver --app-factory="main"
  File ".../lib/python3.6/site-packages/aiohttp_devtools/runserver/config.py", line 63, in __init__
    self.aux_port = aux_port or (main_port) + 1
TypeError: must be str, not int

or $ adev runserver --port=8080

thanks for reporting, fixed. I'll fix a few other things and release a patch today.