diff options
| author | 2019-11-25 18:18:09 +0000 | |
|---|---|---|
| committer | 2019-11-25 18:18:09 +0000 | |
| commit | 93aea08818252dd65a02a31894bfeea9fc0e45b9 (patch) | |
| tree | 2de12f1bb644bd37c90c8f7d151b7a5b715ff7aa /modules/lastfm.py | |
| parent | add `cookies` and `.json()` to utils.http.Response objects (diff) | |
| signature | ||
utils.datetime.datetime_utcnow() -> utils.datetime.utcnow()
Diffstat (limited to 'modules/lastfm.py')
| -rw-r--r-- | modules/lastfm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lastfm.py b/modules/lastfm.py index ce69abcf..14e9128a 100644 --- a/modules/lastfm.py +++ b/modules/lastfm.py @@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule): np = True else: played = int(now_playing["date"]["uts"]) - dt = utils.datetime.datetime_utcnow() + dt = utils.datetime.utcnow() np = bool((dt.timestamp()-played) < 120) time_language = "is listening to" if np else "last listened to" |
