diff --git a/src/core.py b/src/core.py --- a/src/core.py +++ b/src/core.py @@ -7,6 +7,7 @@ from util import MsgQueue from gui import gui from imageanalyzer import ImageAnalyzer from go import Go +import config as cfg class Core: @@ -18,7 +19,7 @@ class Core: self._ownMessages=MsgQueue(self._handleEvent) self._guiMessages=MsgQueue() - imgPath=os.path.join(os.path.dirname(__file__), "..","images","5.jpg") + imgPath=os.path.join(os.path.dirname(__file__), "..","images",cfg.misc.defaultImage) self._frame=PIL.Image.open(imgPath) self._guiProc=multiprocessing.Process(name="gui", target=gui, args=(self._guiMessages,self._ownMessages))