From e181b4cac2658ec54bf0f4f5650ec246a7b4bb30 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 25 Jan 2019 15:43:17 +0100 Subject: [PATCH] Don't use class attributes for cPickle See https://docs.python.org/2/library/pickle.html#what-can-be-pickled-and-unpickled --- resources/lib/pickler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/pickler.py b/resources/lib/pickler.py index bf836663..c4226f20 100644 --- a/resources/lib/pickler.py +++ b/resources/lib/pickler.py @@ -73,4 +73,5 @@ class Playback_Successful(object): """ Used to communicate with another PKC Python instance """ - listitem = None + def __init__(self): + self.listitem = None