BeremizIDE.py
branchpython3
changeset 3755 ca814b175391
parent 3752 9f6f46dbe3ae
child 3758 bc71b19b45ff
--- a/BeremizIDE.py	Fri Oct 28 14:26:17 2022 +0800
+++ b/BeremizIDE.py	Fri Oct 28 14:53:23 2022 +0800
@@ -861,7 +861,7 @@
             return
 
         try:
-            defaultpath = DecodeFileSystemPath(self.Config.Read("lastopenedfolder"))
+            defaultpath = DecodeFileSystemPath(self.Config.Read("lastopenedfolder").encode())
         except Exception:
             defaultpath = os.path.expanduser("~")