mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor fix
This commit is contained in:
parent
19c0efec59
commit
1204eb00b2
|
@ -69,7 +69,7 @@ class BigArray(list):
|
||||||
self.chunks[self.cache.index] = filename
|
self.chunks[self.cache.index] = filename
|
||||||
if not (self.cache and self.cache.index == index):
|
if not (self.cache and self.cache.index == index):
|
||||||
with open(self.chunks[index], "rb") as fp:
|
with open(self.chunks[index], "rb") as fp:
|
||||||
self.cache = (index, pickle.load(fp), False)
|
self.cache = Cache(index, pickle.load(fp), False)
|
||||||
|
|
||||||
def __getitem__(self, y):
|
def __getitem__(self, y):
|
||||||
index = y / BIGARRAY_CHUNK_LENGTH
|
index = y / BIGARRAY_CHUNK_LENGTH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user