From 93aea08818252dd65a02a31894bfeea9fc0e45b9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 25 Nov 2019 18:18:09 +0000 Subject: utils.datetime.datetime_utcnow() -> utils.datetime.utcnow() --- modules/lastfm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lastfm.py') 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" -- cgit v1.3.1-10-gc9f91