Skip to content

Commit

Permalink
Fix bug with data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjr committed Nov 10, 2020
1 parent a7c2387 commit 56bc212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ async def on_ready(self):
"Failed to close thread with channel %s, skipping.", log["channel_id"]
)

if self.config["data_collection"]:
if self.config.get("data_collection"):
self.metadata_loop = tasks.Loop(
self.post_metadata,
seconds=0,
Expand Down

0 comments on commit 56bc212

Please sign in to comment.