diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-01-26 10:44:56 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-01-26 10:44:56 +0100 |
commit | e16a6b458ffcf4b9c436959e8a855245575d499c (patch) | |
tree | ae1d2186576f04991c3043390613c84a4c2685ca /crocoite | |
parent | 6b15b55896b1ff9f26891fa4a705b524d6d54020 (diff) | |
download | crocoite-e16a6b458ffcf4b9c436959e8a855245575d499c.tar.gz crocoite-e16a6b458ffcf4b9c436959e8a855245575d499c.tar.bz2 crocoite-e16a6b458ffcf4b9c436959e8a855245575d499c.zip |
irc: Fix format string
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/irc.py | 12 |
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 = '@' |