diff --git a/src/gui/ALAddTimerTaskDialog.py b/src/gui/ALAddTimerTaskDialog.py index 3d4696f..74df4dc 100644 --- a/src/gui/ALAddTimerTaskDialog.py +++ b/src/gui/ALAddTimerTaskDialog.py @@ -7,25 +7,18 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import os -import sys -import time import uuid -import queue from enum import Enum from datetime import datetime, timedelta from PySide6.QtCore import ( - Qt, Signal, Slot, QDateTime + Slot, QDateTime ) from PySide6.QtWidgets import ( - QLabel, QDialog, QWidget, QSpinBox, QVBoxLayout, + QLabel, QDialog, QWidget, QSpinBox, QHBoxLayout, QGridLayout, QDateTimeEdit ) -from PySide6.QtGui import ( - QCloseEvent -) from gui.Ui_ALAddTimerTaskDialog import Ui_ALAddTimerTaskDialog diff --git a/src/gui/ALMainWindow.py b/src/gui/ALMainWindow.py index 85c5c62..d07e2fe 100644 --- a/src/gui/ALMainWindow.py +++ b/src/gui/ALMainWindow.py @@ -7,7 +7,6 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import os import sys import time import queue @@ -30,9 +29,6 @@ from gui.ALMainWorkers import TimerTaskWorker, AutoLibWorker from gui import AutoLibraryResource -from utils.ConfigReader import ConfigReader -from utils.ConfigWriter import ConfigWriter - class ALMainWindow(QMainWindow, Ui_ALMainWindow): diff --git a/src/gui/ALTimerTaskWidget.py b/src/gui/ALTimerTaskWidget.py index 117a95f..c8d1115 100644 --- a/src/gui/ALTimerTaskWidget.py +++ b/src/gui/ALTimerTaskWidget.py @@ -8,10 +8,7 @@ You may use, modify, and distribute this file under the terms of the MIT License See the LICENSE file for details. """ import os -import sys -import time import copy -import queue from enum import Enum from datetime import datetime, timedelta @@ -24,7 +21,7 @@ from PySide6.QtWidgets import ( QHBoxLayout, QVBoxLayout, QLabel, QPushButton ) from PySide6.QtGui import ( - QCloseEvent, QScreen + QCloseEvent ) from gui.Ui_ALTimerTaskWidget import Ui_ALTimerTaskWidget diff --git a/src/gui/ALUserTreeWidget.py b/src/gui/ALUserTreeWidget.py index 6bdf258..150e397 100644 --- a/src/gui/ALUserTreeWidget.py +++ b/src/gui/ALUserTreeWidget.py @@ -7,7 +7,6 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ - from enum import Enum from PySide6.QtCore import ( diff --git a/src/operators/AutoLib.py b/src/operators/AutoLib.py index d5048ee..741e7df 100644 --- a/src/operators/AutoLib.py +++ b/src/operators/AutoLib.py @@ -26,8 +26,6 @@ from operators.LibReserve import LibReserve from operators.LibCheckin import LibCheckin from operators.LibRenew import LibRenew -from utils.ConfigReader import ConfigReader - class AutoLib(MsgBase): diff --git a/src/operators/LibCheckin.py b/src/operators/LibCheckin.py index 6ee2181..565bfbd 100644 --- a/src/operators/LibCheckin.py +++ b/src/operators/LibCheckin.py @@ -7,11 +7,9 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import re import time import queue -from datetime import datetime, timedelta from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC diff --git a/src/operators/LibLogin.py b/src/operators/LibLogin.py index 19aa0d7..e1277c0 100644 --- a/src/operators/LibLogin.py +++ b/src/operators/LibLogin.py @@ -7,7 +7,6 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import time import queue import base64 diff --git a/src/operators/LibRenew.py b/src/operators/LibRenew.py index fbc1108..36fc1e2 100644 --- a/src/operators/LibRenew.py +++ b/src/operators/LibRenew.py @@ -7,11 +7,8 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import os -import time import queue -from datetime import datetime, timedelta from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC diff --git a/src/operators/LibReserve.py b/src/operators/LibReserve.py index d7d6584..965424d 100644 --- a/src/operators/LibReserve.py +++ b/src/operators/LibReserve.py @@ -7,11 +7,10 @@ This software is provided "as is", without any warranty of any kind. You may use, modify, and distribute this file under the terms of the MIT License. See the LICENSE file for details. """ -import re import time import queue -from datetime import datetime, timedelta +from datetime import datetime from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC