More debug for #1493

This commit is contained in:
Julien Duponchelle
2016-09-08 22:02:27 +02:00
parent b5715e46d2
commit 03a3081361
3 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ sys.path.insert(0, os.path.dirname(sys.executable))
sys.path.insert(0, os.path.join(os.path.dirname(sys.executable), 'site-packages'))
sys.frozen = True
sys.executable = "/Applications/GNS3.app/Contents/MacOS/gns3"
os.environ["_"] = "/Applications/GNS3.app/Contents/MacOS/gns3"
module = importlib.import_module("gns3.main")

View File

@@ -151,6 +151,7 @@ class Controller(QtCore.QObject):
return
with open(path, "wb+") as f:
f.write(raw_body)
log.debug("File stored {} for {}".format(path, url))
callback(path)
def getSymbolIcon(self, symbol_id, callback):

View File

@@ -23,7 +23,6 @@ import pickle
import sip
from .qt import QtCore, QtGui, QtWidgets, qpartial
from .qt.qimage_svg_renderer import QImageSvgRenderer
from .modules import MODULES
from .node import Node
from .controller import Controller