diff --git a/klippy/extras/virtual_sdcard.py b/klippy/extras/virtual_sdcard.py index d61af0cf..265a13f9 100644 --- a/klippy/extras/virtual_sdcard.py +++ b/klippy/extras/virtual_sdcard.py @@ -177,7 +177,7 @@ class VirtualSD: if fname not in flist: fname = files_by_lower[fname.lower()] fname = os.path.join(self.sdcard_dirname, fname) - f = open(fname, 'rb') + f = open(fname, 'r') f.seek(0, os.SEEK_END) fsize = f.tell() f.seek(0)