mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22: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(),
|
type=self.type.toName(),
|
||||||
author=self.author.username, name=self.name)
|
author=self.author.username, name=self.name)
|
||||||
|
|
||||||
|
def getMainScreenshotURL(self):
|
||||||
|
return "/static/screenshot.png"
|
||||||
|
|
||||||
def getDownloadRelease(self):
|
def getDownloadRelease(self):
|
||||||
for rel in self.releases:
|
for rel in self.releases:
|
||||||
if rel.approved:
|
if rel.approved:
|
||||||
|
Loading…
Reference in New Issue
Block a user