Merge pull request #16 from aexeagmbh/patch-port

Add cast to int when reading port argument
This commit is contained in:
Andrew Godwin 2015-09-17 09:34:44 -07:00
commit cadae8346a

View File

@ -18,7 +18,7 @@ class Command(BaseCommand):
"Configure a network-based backend in CHANNEL_BACKENDS to use this command." "Configure a network-based backend in CHANNEL_BACKENDS to use this command."
) )
# Run the interface # Run the interface
port = options.get("port", None) or 9000 port = int(options.get("port", None) or 9000)
try: try:
import asyncio import asyncio
except ImportError: except ImportError: