Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extraneous 'import pickle' statements #32

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Source/Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,6 @@ def _save_users(self):
except IOError as ioerr:
logging.error("IOError occurred: ")
logging.error(str(ioerr))
except pickle.PickleError as perr:
logging.error("Pickling error occurred: ")
logging.error(str(perr))

def _load_users(self):
for room in self._rooms:
Expand All @@ -415,9 +412,6 @@ def _load_users(self):
except IOError as ioerr:
logging.error("IOError occurred: ")
logging.error(str(ioerr))
except pickle.PickleError as perr:
logging.error("Pickling error occurred: ")
logging.error(str(perr))

def _convert_to_save_filename(self, id):
return self._storage_prefix + self.name.replace(' ', '_') + '_room_' + str(id) + '_data'
Expand Down
1 change: 0 additions & 1 deletion Source/ChatRoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#

import os
import pickle
import weakref
import logging

Expand Down
1 change: 0 additions & 1 deletion build/lib/BotpySE/Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from . import Utilities

import os
import pickle
import json
import jsonpickle as jp

Expand Down
1 change: 0 additions & 1 deletion build/lib/BotpySE/ChatRoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import chatexchange as ce
import os
import pickle
import weakref

from . import ChatUser
Expand Down