Skip to content

Commit 7ec2487

Browse files
committed
Updates for future OctoPrint compatibility
1 parent c263213 commit 7ec2487

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

octoprint_wifistatus/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ class WiFiStatusPlugin(
3131
octoprint.plugin.SettingsPlugin,
3232
octoprint.plugin.SimpleApiPlugin,
3333
):
34+
def is_template_autoescaped(self):
35+
return True
36+
37+
def is_api_protected(self):
38+
return True
39+
3440
def update_interface_list(self):
3541
self._interfaces = [None]
3642
# Get list of interfaces for settings

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
plugin_identifier = "wifistatus"
66
plugin_package = "octoprint_{}".format(plugin_identifier)
77
plugin_name = "WiFi Status"
8-
plugin_version = "1.9.0"
8+
plugin_version = "1.9.1"
99
plugin_description = "Displays WiFi status on the navbar"
1010
plugin_author = "Manuel McLure"
1111
plugin_author_email = "manuel@mclure.org"

0 commit comments

Comments
 (0)