MLAB-project / stl-thumbnailer

Shows thumbnails of STL files in Nautilus file browser
GNU General Public License v3.0
56 stars 16 forks source link

Update to python 3 #10

Closed Smartich0ke closed 2 years ago

Smartich0ke commented 2 years ago

I installed this thumbnailer and it didn't work (#5). So I ran the python script by itself and found out it wasn't working because it still uses old python 2 syntax (#9). Also, the MD5 hash wasn't working because it only accepts bytes as an input. I have made it so it encodes the string to UTF-8.

I have tested this on Ubuntu 22.04 with Nautilus and now it works well.

benchy_thumbnail

kaklik commented 2 years ago

Perfect! Many thanks to resolve these long-standing issues!