mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-25 17:48:41 -05:00
commit
ad74684272
1 changed files with 4 additions and 4 deletions
|
|
@ -327,14 +327,14 @@ class ImageRow:
|
||||||
def statusStr(self):
|
def statusStr(self):
|
||||||
"""Set the status message."""
|
"""Set the status message."""
|
||||||
if self.image.failed:
|
if self.image.failed:
|
||||||
return "ERROR: %s"
|
return "ERROR: {0}"
|
||||||
if self.image.compressing:
|
if self.image.compressing:
|
||||||
message = "Compressing %s..."
|
message = "Compressing {0}..."
|
||||||
return message
|
return message
|
||||||
if not self.image.compressed and self.image.recompression:
|
if not self.image.compressed and self.image.recompression:
|
||||||
return "Queued for recompression %s..."
|
return "Queued for recompression {0}..."
|
||||||
if not self.image.compressed:
|
if not self.image.compressed:
|
||||||
return "Queued %s..."
|
return "Queued {0}..."
|
||||||
return "{0}"
|
return "{0}"
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue