mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add dummy Package.getMainScreenshotURL() function
This commit is contained in:
parent
73a79d5eef
commit
2a836c1000
@ -152,6 +152,9 @@ class Package(db.Model):
|
||||
type=self.type.toName(),
|
||||
author=self.author.username, name=self.name)
|
||||
|
||||
def getMainScreenshotURL(self):
|
||||
return "/static/screenshot.png"
|
||||
|
||||
def getDownloadRelease(self):
|
||||
for rel in self.releases:
|
||||
if rel.approved:
|
||||
|
Loading…
Reference in New Issue
Block a user