diff --git a/python/plugins/db_manager/db_plugins/gpkg/connector.py b/python/plugins/db_manager/db_plugins/gpkg/connector.py
index 485eacf79b3..3fe36d67bd2 100644
--- a/python/plugins/db_manager/db_plugins/gpkg/connector.py
+++ b/python/plugins/db_manager/db_plugins/gpkg/connector.py
@@ -620,7 +620,6 @@ class GPKGDBConnector(DBConnector):
         """ run vacuum on the db """
         self._execute_and_commit("VACUUM")
 
-
     def addTableColumn(self, table, field_def):
         """ add a column to table """
 
diff --git a/python/plugins/db_manager/dlg_table_properties.py b/python/plugins/db_manager/dlg_table_properties.py
index 1a31dbfe457..1cb99a8595b 100644
--- a/python/plugins/db_manager/dlg_table_properties.py
+++ b/python/plugins/db_manager/dlg_table_properties.py
@@ -51,7 +51,7 @@ class DlgTableProperties(QDialog, Ui_Dialog):
         self.db = self.table.database()
 
         supportCom = self.db.supportsComment()
-        if not supportCom :
+        if not supportCom:
             self.tabs.removeTab(3)
 
         m = TableFieldsModel(self)