Fix the watch local server configuration file

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

No files matched your search

+7
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():
"""