diff options
Diffstat (limited to 'layman/updater.py')
-rw-r--r-- | layman/updater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/updater.py b/layman/updater.py index 5cef2b0..6cd98c4 100644 --- a/layman/updater.py +++ b/layman/updater.py @@ -124,7 +124,7 @@ class Main(object): installed = self.config['installed'] old_ext = os.path.splitext(installed)[1] backup_name = installed + '.' + self.config['db_type'] - if old_ext == self.config['db_type']: + if old_ext == "." + self.config['db_type']: backup_name = installed + '.bak' new_name = installed.replace(old_ext, '.db') |