mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
make mypy happy
This commit is contained in:
parent
e5912ca13d
commit
e423bfbbcc
@ -107,8 +107,8 @@ class Cut:
|
||||
fp.write(v.encode("utf8"))
|
||||
ctx.log.alert("Saved single cut.")
|
||||
else:
|
||||
with open(path, "a" if append else "w", newline='', encoding="utf8") as fp:
|
||||
writer = csv.writer(fp)
|
||||
with open(path, "a" if append else "w", newline='', encoding="utf8") as tfp:
|
||||
writer = csv.writer(tfp)
|
||||
for f in flows:
|
||||
vals = [extract(c, f) for c in cuts]
|
||||
writer.writerow(
|
||||
|
0
mitmproxy/contrib/kaitaistruct/__init__.py
Normal file
0
mitmproxy/contrib/kaitaistruct/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user