Skip to content

Commit 6af9f06

Browse files
committed
Minor fix
1 parent df89e7d commit 6af9f06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nbgrader/api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from sqlalchemy.ext.declarative import declared_attr
2020
from uuid import uuid4
2121
from .dbutil import _temp_alembic_ini
22-
from datetime import datetime
2322
from typing import List, Any, Optional, Union
2423
from .auth import Authenticator
2524

@@ -574,7 +573,7 @@ class SubmittedAssignment(Base):
574573
late_submission_penalty = None
575574

576575
@property
577-
def duedate(self) -> datetime:
576+
def duedate(self) -> datetime.datetime:
578577
"""The duedate of this student's assignment, which includes any extension
579578
given, if applicable, and which is just the regular assignment duedate
580579
otherwise.

0 commit comments

Comments
 (0)