summaryrefslogtreecommitdiff
path: root/systemd/journal.py
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/journal.py')
-rw-r--r--systemd/journal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/journal.py b/systemd/journal.py
index b319a8a..fae7f6f 100644
--- a/systemd/journal.py
+++ b/systemd/journal.py
@@ -291,7 +291,7 @@ class Reader(_Reader):
is reference to. Defaults to current bootid.
"""
if isinstance(monotonic, _datetime.timedelta):
- monotonic = monotonic.totalseconds()
+ monotonic = monotonic.total_seconds()
monotonic = int(monotonic * 1000000)
if isinstance(bootid, _uuid.UUID):
bootid = bootid.hex