Fix typo in database_backup.py, 'ocation' -> 'location'

This commit is contained in:
jesopo 2018-09-27 14:06:46 +01:00
parent 0fb947dc5a
commit 02a2b41246

View file

@ -17,7 +17,7 @@ class Module(object):
@Utils.hook("timer.database-backup")
def backup(self, event):
location = self.bot.database.location
files = glob.glob("%s.*" % ocation)
files = glob.glob("%s.*" % location)
files = sorted(files)
if len(files) == 5: