diff options
author | Michael Herold <m.herold@fu-berlin.de> | 2015-12-10 00:18:01 +0100 |
---|---|---|
committer | Michael Herold <m.herold@fu-berlin.de> | 2015-12-10 00:18:01 +0100 |
commit | 3d046016c4ca8860485ab27dd42eaf5bc49872a7 (patch) | |
tree | e39603afb75a8a5e9fbbc1e49f7c21d43186ad09 /systemd/journal.py | |
parent | c8749e7fbc3174136f4e654ae9a50f3e87ef6e60 (diff) | |
download | python-systemd-3d046016c4ca8860485ab27dd42eaf5bc49872a7.tar.gz |
Fixes Reader.seek_monotonic(datetime.timedelta)
Diffstat (limited to 'systemd/journal.py')
-rw-r--r-- | systemd/journal.py | 2 |
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 |