Skip to content

Commit 30d55ca

Browse files
committed
Enable autoupdates by default
1 parent 8065f71 commit 30d55ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bot.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''
22
MIT License
33
4-
Copyright (c) 2017 kyb3r
4+
Copyright (c) 2019 kyb3r
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -318,8 +318,7 @@ async def data_loop(self):
318318

319319
async def autoupdate_loop(self):
320320
while True:
321-
if not self.config.get('autoupdates'):
322-
print(self.config.get('autoupdates', 'none'))
321+
if self.config.get('disable_autoupdates'):
323322
await asyncio.sleep(3600)
324323
continue
325324

0 commit comments

Comments
 (0)