mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Moved import in portal.py to after the manual path insert (Windows only), which possibly increase Windows compatability.
This commit is contained in:
parent
64a30c655d
commit
8b462b4934
1 changed files with 3 additions and 4 deletions
|
|
@ -7,15 +7,14 @@ sets up all the networking features. (this is done automatically
|
|||
by game/evennia.py).
|
||||
|
||||
"""
|
||||
import sys
|
||||
import os
|
||||
from src.server.webserver import EvenniaReverseProxyResource
|
||||
|
||||
if os.name == 'nt':
|
||||
# For Windows batchfile we need an extra path insertion here.
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(
|
||||
os.path.dirname(os.path.abspath(__file__))))))
|
||||
|
||||
import sys
|
||||
import os
|
||||
from src.server.webserver import EvenniaReverseProxyResource
|
||||
from twisted.application import internet, service
|
||||
from twisted.internet import protocol, reactor
|
||||
from twisted.web import server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue