Skip to content

Commit 1e1b16b

Browse files
committed
Fix indent, woops.
1 parent 5e7f34a commit 1e1b16b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

octoprint_filamentsensorng/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ def on_event(self, event, payload):
123123
GPIO.remove_event_detect(self.pin)
124124

125125
@octoprint.plugin.BlueprintPlugin.route("/status", methods=["GET"])
126-
def check_status(self):
127-
status = "-1"
128-
if self.pin != -1:
129-
status = str(self.no_filament())
130-
return jsonify( status = status )
126+
def check_status(self):
127+
status = "-1"
128+
if self.pin != -1:
129+
status = str(self.no_filament())
130+
return jsonify( status = status )
131131

132132
def sensor_callback(self, _):
133133
sleep(self.poll_time/1000)

0 commit comments

Comments
 (0)