diff -r 9188235e3bbf -r 92035ebc4743 printrun-src/printrun/pronterface.py --- a/printrun-src/printrun/pronterface.py Fri Jul 28 16:05:08 2017 +0200 +++ b/printrun-src/printrun/pronterface.py Fri Sep 22 17:38:36 2017 +0200 @@ -2,12 +2,15 @@ # FILE MODIFIED BY NEOSOFT - MALTE DI DONATO # Embed Lasercut functions from laser.py -import laser +from . import laser try: - from module_watcher import ModuleWatcher - mw = ModuleWatcher() + from . import module_watcher + mw = module_watcher.ModuleWatcher() mw.watch_module('laser') mw.start_watching() +except Exception, e: + print e + print "ModuleWatcher not loaded, skipping autoreloading of changed modules" # This file is part of the Printrun suite. #