summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/irc.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/crocoite/irc.py b/crocoite/irc.py
index 96d0e3e..0c1db39 100644
--- a/crocoite/irc.py
+++ b/crocoite/irc.py
@@ -105,12 +105,12 @@ class Job:
stats = self.stats
rstats = self.rstats
return (f"{self.url} ({self.id}) {self.status.name}. "
- "{rstats.get ('have', 0)} pages finished, "
- "{rstats.get ('pending', 0)} pending; "
- "{stats.get ('crashed', 0)} crashed, "
- "{stats.get ('requests', 0)} requests, "
- "{stats.get ('failed', 0)} failed, "
- "{prettyBytes (stats.get ('bytesRcv', 0))} received.")
+ f"{rstats.get ('have', 0)} pages finished, "
+ f"{rstats.get ('pending', 0)} pending; "
+ f"{stats.get ('crashed', 0)} crashed, "
+ f"{stats.get ('requests', 0)} requests, "
+ f"{stats.get ('failed', 0)} failed, "
+ f"{prettyBytes (stats.get ('bytesRcv', 0))} received.")
class NickMode(Enum):
operator = '@'