Skip to content

Commit

Permalink
Merge pull request #3 from AliceGrey/master
Browse files Browse the repository at this point in the history
upd
  • Loading branch information
ShohninDmitriy authored Oct 21, 2020
2 parents f6822a0 + 71b23c3 commit 2041cdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Fork information:
- This is forked from [the original](https://github.com/mmone/OctoprintKlipperPlugin) version 0.2.5
- The fork now supports Python3 (hopefully without any new bugs)
- The current version is 0.3.1 and includes the pull requests left on the old plugin page that fixes several bugs and Themify support.
- The current version is 0.3.2 and includes the pull requests left on the old plugin page that fixes several bugs and Themify support.

## Fork Installation Information:
- Uninstall any other versions of the plugin using Plugin Manager or other means, as necessary.
Expand Down
4 changes: 3 additions & 1 deletion octoprint_klipper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import octoprint.plugin.core
import glob
import os
import sys
from octoprint.util.comm import parse_firmware_line
from .modules import KlipperLogAnalyzer
import flask
Expand Down Expand Up @@ -100,7 +101,8 @@ def on_settings_save(self, data):
filepath = os.path.expanduser(
self._settings.get(["configuration", "configpath"])
)
data["config"] = data["config"].encode('utf-8')
if sys.version_info[0] < 3:
data["config"] = data["config"].encode('utf-8')

f = open(filepath, "w")
f.write(data["config"])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

plugin_name = "OctoKlipper"

plugin_version = "0.3.1"
plugin_version = "0.3.2"

plugin_description = """A plugin for OctoPrint to configure,control and monitor the Klipper 3D printer software."""

Expand Down

0 comments on commit 2041cdc

Please sign in to comment.