diff --git a/sorteerhoed/HITStore.py b/sorteerhoed/HITStore.py index 7f470c1..a0e5848 100644 --- a/sorteerhoed/HITStore.py +++ b/sorteerhoed/HITStore.py @@ -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: