Skip to content

Commit

Permalink
remove missleading flash
Browse files Browse the repository at this point in the history
  • Loading branch information
maggi373 committed Sep 5, 2024
1 parent c582c0d commit 9d75b2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions models/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def get_by_modpack(modpack):
builds = cursor.fetchall()
if builds:
return [Build(**build) for build in builds]
flash("unable to get modpack", "error")
return []

@staticmethod
Expand All @@ -138,7 +137,6 @@ def get_by_modpack_cid(modpack, cid):
builds = cursor.fetchall()
if builds:
return [Build(**build) for build in builds]
flash("unable to get modpack", "error")
return []

@classmethod
Expand Down

0 comments on commit 9d75b2f

Please sign in to comment.