Skip to content

Commit

Permalink
Revert database import removal
Browse files Browse the repository at this point in the history
Fixes error in autoapp trying to do `from donate.database import db`.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Dec 5, 2023
1 parent 8cbdfac commit 928f2d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions donate/database.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import sadisplay
from donate import models

# Magic import
from .extensions import db # noqa: F401


def count_levels(name, deps):
if deps[name] == set():
Expand Down

0 comments on commit 928f2d0

Please sign in to comment.