kripken / intensityengine

[Not active!] An open source platform for 3D games and virtual worlds
https://web.archive.org/web/20100222011320/http://www.syntensity.com/
Other
58 stars 15 forks source link

Server address isn't passed to django runserver command #25

Closed ghost closed 14 years ago

ghost commented 14 years ago

Diff with correction:

diff --git a/intensity_master.py b/intensity_master.py
index 0c88f40..26d371f 100644
--- a/intensity_master.py
+++ b/intensity_master.py
@@ -59,7 +59,8 @@ else:
     command_args = sys.argv[2:]
     # If no command given, default is to run the server
     if len(command_args) == 0:
-        command_args = ['runserver', intensity_conf.get('Network', 'port')]
+        command_args = ['runserver', 
+       "%s:%s" % (intensity_conf.get('Network', 'address'), intensity_conf.get('Network', 'port'))]

     from django.core import management
ryanswrt commented 14 years ago

Thanks for the fix rapiscan!

Hopefully kripken can merge the fix soon :)

kripken commented 14 years ago

Thanks, fixed in d333c88deb1352ef038c6d82763f3aac76117ec4