diff --git a/pwncat/modules/peas.py b/pwncat/modules/peas.py index 758a84e..af7b18f 100644 --- a/pwncat/modules/peas.py +++ b/pwncat/modules/peas.py @@ -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: