diff --git a/ereuse_devicehub/cli.py b/ereuse_devicehub/cli.py index 4c253235..47cece32 100644 --- a/ereuse_devicehub/cli.py +++ b/ereuse_devicehub/cli.py @@ -11,7 +11,7 @@ import sys sys.ps1 = '\001\033[92m\002>>> \001\033[0m\002' sys.ps2= '\001\033[94m\002... \001\033[0m\002' -import os, readline, rlcompleter, atexit +import os, readline, atexit history_file = os.path.join(os.environ['HOME'], '.python_history') try: readline.read_history_file(history_file) diff --git a/ereuse_devicehub/devicehub.py b/ereuse_devicehub/devicehub.py index 1051c951..7163173d 100644 --- a/ereuse_devicehub/devicehub.py +++ b/ereuse_devicehub/devicehub.py @@ -10,7 +10,6 @@ from ereuse_utils.session import DevicehubClient from flask import _app_ctx_stack, g from flask_login import LoginManager, current_user from flask_sqlalchemy import SQLAlchemy -from flask_wtf.csrf import CSRFProtect from teal.db import SchemaSQLAlchemy from teal.teal import Teal