mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
please flake8
This commit is contained in:
parent
29c52d98dc
commit
5e385405ca
@ -87,7 +87,7 @@ class FileGenerator(object):
|
||||
if isinstance(x, slice):
|
||||
return self.map.__getitem__(x)
|
||||
# A slice of length 1 returns a byte object (not an integer)
|
||||
return self.map.__getitem__(slice(x, x+1 or self.map.size()))
|
||||
return self.map.__getitem__(slice(x, x + 1 or self.map.size()))
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s" % self.path
|
||||
|
Loading…
Reference in New Issue
Block a user