From 02a2b412461026a77bfe6e9c3f48ea32ce4bbe37 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 27 Sep 2018 14:06:46 +0100 Subject: [PATCH] Fix typo in database_backup.py, 'ocation' -> 'location' --- modules/database_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/database_backup.py b/modules/database_backup.py index 51fe3990..e4a4ceb4 100644 --- a/modules/database_backup.py +++ b/modules/database_backup.py @@ -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: