mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
List is not a valid input type for timings, expecting object
This commit is contained in:
parent
e38267a61e
commit
e21f67715c
|
@ -72,7 +72,7 @@ class Entry:
|
||||||
"request": self.request.toDict(),
|
"request": self.request.toDict(),
|
||||||
"response": self.response.toDict(),
|
"response": self.response.toDict(),
|
||||||
"cache": {},
|
"cache": {},
|
||||||
"timings": [],
|
"timings": {},
|
||||||
"time": int(1000 * (self.endTime - self.startTime)),
|
"time": int(1000 * (self.endTime - self.startTime)),
|
||||||
"startedDateTime": "%s%s" % (datetime.datetime.fromtimestamp(self.startTime).isoformat(), time.strftime("%z")) if self.startTime else None
|
"startedDateTime": "%s%s" % (datetime.datetime.fromtimestamp(self.startTime).isoformat(), time.strftime("%z")) if self.startTime else None
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user