mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-27 10:54:14 +01:00
fix flake8 error
This commit is contained in:
parent
2421c67d07
commit
515db12e85
@ -53,7 +53,7 @@ def mktemp(session: "pwncat.manager.Session", mode: str = "wb", suffix: str = ""
|
||||
"""This function helps to create temperory files."""
|
||||
platform = session.platform
|
||||
|
||||
if not "." in suffix:
|
||||
if "." not in suffix:
|
||||
suffix = "." + suffix
|
||||
|
||||
if type(platform) == Windows:
|
||||
|
Loading…
Reference in New Issue
Block a user