mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 21:44:52 +02:00
Update volatility3/framework/automagic/symbol_cache.py
Hehehe, I guess I'm just a little shy about handing out complex objects, but you're right and it is a private method. 5:) Co-authored-by: Donghyun Kim <digitalisx99@gmail.com>
This commit is contained in:
committed by
Mike Auty
co-authored by
Donghyun Kim
parent
1e80bb54de
commit
6f34e1350e
@@ -169,7 +169,7 @@ class SqliteCache(CacheManagerInterface):
|
||||
os.unlink(filename)
|
||||
self._database = self._connect_storage(filename)
|
||||
|
||||
def _connect_storage(self, path: str):
|
||||
def _connect_storage(self, path: str) -> sqlite3.Connection:
|
||||
database = sqlite3.connect(path)
|
||||
database.row_factory = sqlite3.Row
|
||||
database.cursor().execute(
|
||||
|
||||
Reference in New Issue
Block a user