Skip to content
Snippets Groups Projects
Commit bfe0ee53 authored by Gandalf's avatar Gandalf
Browse files

[JES] Fix a bug on checking for last update time. If the initial update time...

[JES] Fix a bug on checking for last update time. If the initial update time was never set, the check will fail
parent 2be29a8d
No related branches found
No related tags found
Loading
......@@ -83,7 +83,7 @@ class Mutes:
if not observer or not context:
return {}
if int(perf() - cls.instance().fetched) > 3600:
if cls.instance().fetched and (perf() - cls.instance().fetched) > 3600:
cls.instance().load()
blacklisted_users = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment