Skip to content

Commit

Permalink
Merge pull request #23 from NilsRo/Development
Browse files Browse the repository at this point in the history
Releasee 1.0.3
  • Loading branch information
NilsRo committed Apr 7, 2021
2 parents 8918f2a + 40ae073 commit a60bb3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions octoprint_SlicerEstimator/__init__.py
Expand Up @@ -385,11 +385,12 @@ def _do_analysis(self, high_priority=False):
if future.done() and self._result_slicer:
self._logger.info("Found {}s from slicer for file {}".format(self._result_slicer, self._current.name))
result["estimatedPrintTime"] = self._result_slicer
return result
elif not future.done():
elif not future.done() and self._aborted:
future.shutdown(wait=False)
raise AnalysisAborted(reenqueue=self._reenqueue)
return result
except AnalysisAborted as _:
self._logger.info("Probably starting printing, aborting analysis of file-upload.")
raise

def _do_abort(self, reenqueue=True):
Expand Down
Expand Up @@ -30,7 +30,7 @@
</div>
<div class="control-group">
<label class="control-label">{{ _('Use average estimation before slicer') }}</label>
<div class="controls" data-toggle="tooltip" title="{{ _('The average estimation is based on the last prints so it could be more accurate than the slicer estimation. It also includes the heatup time of the printer.') }}">
<div class="controls" data-toggle="tooltip" title="{{ _('The average estimation is based on the last prints (green dot is shown). It can be more accurate in the first minutes compared to the slicer estimation as it also includes the heatup time of the printer and is based on the print-history. After print-start slicer estimation is fine.') }}">
<input type="checkbox" data-bind="checked: settings.plugins.SlicerEstimator.average_prio">
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-SlicerEstimator"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.0.2"
plugin_version = "1.0.3"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit a60bb3e

Please sign in to comment.