Commit 164c250f authored by Michael Büsch's avatar Michael Büsch

awlsim-server: Fix cython helper check

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 7cbf0f9e
......@@ -30,6 +30,7 @@ from awlsim_loader.common import *
from awlsim_loader.core import *
from awlsim_loader.coreclient import *
from awlsim_loader.coreserver import *
import awlsim_loader.cython_helper as cython_helper
def usage():
......@@ -131,8 +132,7 @@ def main():
printInfo("Started awlsim server process (PID: %d)" %\
serverProcess.pid)
else:
import awlsim.cython_helper
if awlsim.cython_helper.shouldUseCython():
if cython_helper.shouldUseCython():
printInfo("*** Using accelerated CYTHON core "
"(AWLSIM_CYTHON environment variable is set)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment