Fix the watch local server configuration file

Ref #539
This commit is contained in:
Julien Duponchelle
2016-05-30 15:18:49 +02:00
parent 7a80dd6cb3
commit 29127895b9
2 changed files with 11 additions and 4 deletions

View File

@ -31,6 +31,13 @@ import gns3server.utils.get_resource
import os
import sys
# To avoid strange bug later we switch the event loop before any other operation
if sys.platform.startswith("win"):
import asyncio
# use the Proactor event loop on Windows
loop = asyncio.ProactorEventLoop()
def daemonize():
"""