We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b90937d commit 4e10689Copy full SHA for 4e10689
.gitignore
@@ -109,3 +109,5 @@ conversations/
109
/src/utils/pattern_lister/y-bot.csv
110
/src/utils/rdf_lister/rdfs.csv
111
/src/utils/botflow/
112
+/bots/botflow/
113
+bots/botflow/
src/programy/parser/aiml_parser.py
@@ -61,8 +61,10 @@ def __getstate__(self):
61
# __getstate__ is called during the pickling process to determin whih
62
# attributes to load, so we remove the ones we don't want pickling
63
d = dict(self.__dict__)
64
- del d['_errors']
65
- del d['_duplicates']
+ if '_errors' in d:
+ del d['_errors']
66
+ if '_duplicates' in d:
67
+ del d['_duplicates']
68
return d
69
70
@property
0 commit comments