Images prepended with 0
This commit is contained in:
parent
7df1cd7727
commit
a2c20b533c
1 changed files with 2 additions and 2 deletions
|
@ -59,13 +59,13 @@ class HIT(Base):
|
|||
|
||||
|
||||
def getImagePath(self):
|
||||
return os.path.join('../scanimation/interfaces/frames', f"{self.id}.jpg")
|
||||
return os.path.join('../scanimation/interfaces/frames', f"{self.id:06d}.jpg")
|
||||
|
||||
# def getImageUrl(self):
|
||||
# return f"{self.id}.jpg"
|
||||
|
||||
def getSvgImageUrl(self):
|
||||
return f"scans/{self.id}.svg"
|
||||
return f"scans/{self.id:06d}.svg"
|
||||
|
||||
def getStatus(self):
|
||||
if self.scanned_at:
|
||||
|
|
Loading…
Reference in a new issue