Fix typo in database_backup.py, 'ocation' -> 'location'
This commit is contained in:
parent
0fb947dc5a
commit
02a2b41246
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Module(object):
|
||||||
@Utils.hook("timer.database-backup")
|
@Utils.hook("timer.database-backup")
|
||||||
def backup(self, event):
|
def backup(self, event):
|
||||||
location = self.bot.database.location
|
location = self.bot.database.location
|
||||||
files = glob.glob("%s.*" % ocation)
|
files = glob.glob("%s.*" % location)
|
||||||
files = sorted(files)
|
files = sorted(files)
|
||||||
|
|
||||||
if len(files) == 5:
|
if len(files) == 5:
|
||||||
|
|
Loading…
Reference in a new issue