remove pickle imports
This commit is contained in:
parent
8fa69d1610
commit
6243cad505
@ -4,8 +4,6 @@ import cmd
|
||||
import re
|
||||
import io
|
||||
import datetime
|
||||
import pickle
|
||||
import sys
|
||||
import RegisterDatapoint
|
||||
import logging
|
||||
|
||||
@ -326,13 +324,6 @@ class CmdInterpreter(cmd.Cmd):
|
||||
self.__println("Usage: load")
|
||||
self.__println("Reload the register file, overwrite all unsaved changes.")
|
||||
|
||||
#def do_shutdown(self, arg):
|
||||
# sys.exit()
|
||||
|
||||
#def help_shutdown(self):
|
||||
# self.__println("Usage: shutdown")
|
||||
# self.__println("Shuts down the application")
|
||||
|
||||
|
||||
|
||||
class CmdHandle(socketserver.StreamRequestHandler):
|
||||
|
@ -4,7 +4,6 @@ from pymodbus.exceptions import ModbusIOException
|
||||
import MqttProcessor
|
||||
import logging
|
||||
import json
|
||||
import pickle
|
||||
|
||||
|
||||
class JsonifyEncoder(json.JSONEncoder):
|
||||
|
Loading…
x
Reference in New Issue
Block a user