Skip to content

Commit

Permalink
Automated autopep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 8, 2024
1 parent f27790d commit 38fa553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fedot/core/caching/base_cache_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _reset_eff(self, cur: sqlite3.Cursor):
"""
try:
cur.execute(f'DELETE FROM {self._eff_table};')
except:
except BaseException:
pass
cur.execute(f'INSERT INTO {self._eff_table} DEFAULT VALUES;')

Expand All @@ -135,7 +135,7 @@ def _reset_main(self, cur: sqlite3.Cursor):
"""
try:
cur.execute(f'DELETE FROM {self._main_table};')
except:
except BaseException:
pass

def __len__(self):
Expand Down

0 comments on commit 38fa553

Please sign in to comment.