imrahil / OctoPrint-PrintHistory

Plugin for OctoPrint - saves filename, print time and filament usage for each print
GNU Affero General Public License v3.0
64 stars 64 forks source link

Fixes to export options #92

Closed justin-chandra closed 1 year ago

justin-chandra commented 1 year ago

Hello,

I was experiencing a few errors when trying to use the export options so I tried fixing them myself. I am not very experienced with python, I just kept following the errors and making changes that seem fix things.

To me it looks like later versions of python caused compatibility issues leading to most of the problems. The changes I made are as follows:

Please take a look and let me know what you think. I am open to friendly suggestions and advice.

Thanks

justin-chandra commented 1 year ago

@guysoft Can you please take a look? Thanks for your time

guysoft commented 1 year ago

Tested and looks like it works, I think its worth releasing a new version for this