Add dummy Package.getMainScreenshotURL() function

This commit is contained in:
rubenwardy 2018-03-23 17:08:28 +00:00
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: