Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
circulon committed Jul 25, 2024
1 parent ff62179 commit 956753b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/masonite/cache/drivers/RedisDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from redis import Redis



class RedisDriver:
def __init__(self, application):
self.application = application
Expand Down Expand Up @@ -165,7 +164,7 @@ def forget(self, key: str) -> None:
self._internal_cache.pop(key)

def flush(self) -> None:
flushed = self.get_connection().flushall()
self.get_connection().flushall()
self._internal_cache = None

def get_default_timeout(self) -> int:
Expand Down

0 comments on commit 956753b

Please sign in to comment.