diff -r 11f6d97f83b0 -r 234037fbca4b printrun-src/printrun/pronterface.py --- a/printrun-src/printrun/pronterface.py Fri Jun 03 10:06:09 2016 +0200 +++ b/printrun-src/printrun/pronterface.py Fri Jun 03 21:14:09 2016 +0200 @@ -18,8 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Printrun. If not, see . -from laser import Lasercutter - import os import Queue import sys @@ -1379,6 +1377,10 @@ except: self.logError(_("Could not update recent files list:") + "\n" + traceback.format_exc()) + + # import the library local so we dont have to restart the whole app when making code changes + from laser import Lasercutter + if name.lower().endswith(".stl") or name.lower().endswith(".obj"): self.slice(name) elif name.lower().endswith(".png") or name.lower().endswith(".jpg") or name.lower().endswith(".gif"):