Skip to content

Commit

Permalink
more imports, this sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 19, 2024
1 parent 4190840 commit b103556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def to_dict(self, mod_data=False):

@property
def external_url(self):
from helper import cached_asset_name
return url_for("static", filename=cached_asset_name(self), _external=True)

@property
Expand All @@ -52,4 +53,5 @@ def moderate_url(self):

@property
def url(self):
from helper import cached_asset_name
return url_for("static", filename=cached_asset_name(self))

0 comments on commit b103556

Please sign in to comment.