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"))
|
fp.write(v.encode("utf8"))
|
||||||
ctx.log.alert("Saved single cut.")
|
ctx.log.alert("Saved single cut.")
|
||||||
else:
|
else:
|
||||||
with open(path, "a" if append else "w", newline='', encoding="utf8") as fp:
|
with open(path, "a" if append else "w", newline='', encoding="utf8") as tfp:
|
||||||
writer = csv.writer(fp)
|
writer = csv.writer(tfp)
|
||||||
for f in flows:
|
for f in flows:
|
||||||
vals = [extract(c, f) for c in cuts]
|
vals = [extract(c, f) for c in cuts]
|
||||||
writer.writerow(
|
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