diff --git a/trollmoves/server.py b/trollmoves/server.py index f31e3bfe..50e04bf7 100644 --- a/trollmoves/server.py +++ b/trollmoves/server.py @@ -946,6 +946,7 @@ def unpack(pathname, LOGGER.exception("Could not decompress %s", pathname) else: if delete in ["1", "yes", "true", "on"]: + delete = True os.remove(pathname) return new_path return pathname