diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index 5bf55ea14..87d7a98f7 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -112,7 +112,7 @@ class Miscellaneous: and functions """ - if web: + if web and self.webBackdoorFilePath: logger.info("cleaning up the web files uploaded") self.delRemoteFile(self.webStagerFilePath)