fix file uploads
This commit is contained in:
jneilliii 2024-08-25 14:20:45 -04:00
parent cd4103cc71
commit 5754e81b72
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class IoTFTPSConnection:
# But since we operate in prot p mode # But since we operate in prot p mode
# we can close the connection always. # we can close the connection always.
# This is cursed but it works. # This is cursed but it works.
if "vsFTPd" in self.welcome: if "vsFTPd" in self.ftps_session.welcome:
conn.unwrap() conn.unwrap()
else: else:
conn.shutdown(socket.SHUT_RDWR) conn.shutdown(socket.SHUT_RDWR)

View File

@ -14,7 +14,7 @@ plugin_package = "octoprint_bambu_printer"
plugin_name = "OctoPrint-BambuPrinter" plugin_name = "OctoPrint-BambuPrinter"
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "0.1.2" plugin_version = "0.1.3"
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module # module