Merge branch 'master' into devel

Conflicts:
octoprint/util/comm.py
This commit is contained in:
Gina Häußge committed 2013-06-27 21:51:09 +02:00
commit 1b45d15430
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -276,6 +276,7 @@ class Settings(object):
def setInt(self, path, value, force=False):
if value is None:
self.set(path, None, force)
return
try:
intValue = int(value)
+1 -1
View File
@@ -843,7 +843,7 @@ class MachineCom(object):
if lineToResend is not None:
self._resendDelta = self._currentLine - lineToResend
if self._resendDelta > len(self._lastLines):
if self._resendDelta > len(self._lastLines) or len(self._lastLines) == 0:
self._errorValue = "Printer requested line %d but no sufficient history is available, can't resend" % lineToResend
self._logger.warn(self._errorValue)
if self.isPrinting():