--- a/PLCOpenEditor.py Tue Jul 17 21:23:21 2012 +0200
+++ b/PLCOpenEditor.py Wed Jul 18 01:02:08 2012 +0200
@@ -796,7 +796,7 @@
projects = {}
try:
if self.Config.HasEntry("projects"):
- projects = cPickle.loads(self.Config.Read("projects"))
+ projects = cPickle.loads(str(self.Config.Read("projects")))
except:
pass
@@ -807,7 +807,7 @@
state = page.GetState()
if state is not None:
if self.Config.HasEntry("projects"):
- projects = cPickle.loads(self.Config.Read("projects"))
+ projects = cPickle.loads(str(self.Config.Read("projects")))
else:
projects = {}
@@ -996,7 +996,7 @@
projects = {}
try:
if self.Config.HasEntry("projects"):
- projects = cPickle.loads(self.Config.Read("projects"))
+ projects = cPickle.loads(str(self.Config.Read("projects")))
except:
pass