1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-23 17:15:38 +01:00

fix flake8 error

This commit is contained in:
Seven7Up 2021-10-30 02:51:19 -04:00
parent 2421c67d07
commit 515db12e85

View File

@ -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: