summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-28 10:12:05 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-28 10:12:05 +0800
commit59ccf598739353e94a71391a7807923f78a71f15 (patch)
tree1c7bd372acb23d33d506d4fbc20d0ac726002484 /jimbrella
parenta42cefbbee178498afdd65ae0f774c2cdd99493f (diff)
Remove unused imports
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/database.py5
-rw-r--r--jimbrella/users.py3
2 files changed, 1 insertions, 7 deletions
diff --git a/jimbrella/database.py b/jimbrella/database.py
index 7f82799..9ca3c5b 100644
--- a/jimbrella/database.py
+++ b/jimbrella/database.py
@@ -1,9 +1,6 @@
-import csv
-import os
from datetime import datetime, timedelta
from .csv_table import CsvTable
-from .lockfile import Lockfile
-from .utils import identity, human_datetime, human_timedelta
+from .utils import human_datetime, human_timedelta
from .config import DUE_HOURS
from .exceptions import *
diff --git a/jimbrella/users.py b/jimbrella/users.py
index 3276062..4a6348e 100644
--- a/jimbrella/users.py
+++ b/jimbrella/users.py
@@ -1,6 +1,4 @@
-import csv
from .csv_table import CsvTable
-from .lockfile import Lockfile
from .exceptions import UsernameTakenError
@@ -27,7 +25,6 @@ class Users(CsvTable):
def __init__(self, path):
self.path = path
- self.lockfile = Lockfile(self.path)
super().__init__(
path,
[