From 7f0167f688b5b1d4d3530077f8abef95be099da5 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 2 Mar 2022 13:39:15 +0100 Subject: [PATCH] remove imported but unused --- ereuse_devicehub/cli.py | 2 +- ereuse_devicehub/devicehub.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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