fieldOfView / Cura-CustomJobPrefix

A Cura plugin that lets the user set a custom print job prefix
GNU Affero General Public License v3.0
24 stars 5 forks source link

If path contains trailing / it results in double-slash #17

Closed Kriechi closed 4 years ago

Kriechi commented 4 years ago

I chose these config options: Prefix: {printer_name_full} Postfix: {date_year}-{date_month}-{date_day} Path: foo/

Expected path: foo/LittlePrinter_test_20-06-29.gcode

Actual path: foo//LittlePrinter_test_20-06-29.gcode

While double-slashes might be handled without problems on most systems, especially embedded platforms will throw an error in this case.