Fixed a bug causing slicing not to work if no printer profile was provided

This commit is contained in:
Gina Häußge 2014-12-03 08:52:20 +01:00
parent 56ad5b97b6
commit b935e96448

View file

@ -117,7 +117,7 @@ class SlicingManager(object):
printer_profile = self._printer_profile_manager.get(printer_profile_id)
if printer_profile is None:
printer_profile = self._printer_profile_manager.get_current_or_default()["id"]
printer_profile = self._printer_profile_manager.get_current_or_default()
def slicer_worker(slicer, model_path, machinecode_path, profile_name, overrides, printer_profile, callback, callback_args, callback_kwargs):
try: