Merge branch 'master' into devel

Conflicts:
	src/octoprint/server/ajax/control.py
This commit is contained in:
Gina Häußge 2014-06-21 20:19:49 +02:00
commit 585bfba850
2 changed files with 17 additions and 1 deletions

13
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,13 @@
Bug Reports
-----------
**READ [How to file a bug report](https://github.com/foosel/OctoPrint/wiki/How-to-file-a-bug-report)!**.
Pull Requests
-------------
1. Please create all pull requests against the `devel` branch.
2. Create **one pull request per feature/bug fix**.
3. Create a custom branch for your feature/bug fix and use that as base for your pull request. Pull requests directly against your version of `devel` will be closed.
4. In your pull request's description, state what your pull request is doing, as in, what feature does it implement, what bug does it fix.

View file

@ -1220,6 +1220,9 @@ class MachineCom(object):
self._resendDelta = None
return None
def _gcode_M112(self, cmd): # It's an emergency what todo? Canceling the print should be the minimum
self.cancelPrint()
return cmd
def _gcode_M112(self, cmd): # It's an emergency what todo? Canceling the print should be the minimum
self.cancelPrint()
@ -1468,4 +1471,4 @@ class StreamingGcodeFileInformation(PrintingGcodeFileInformation):
return self._localFilename
def getRemoteFilename(self):
return self._remoteFilename
return self._remoteFilename