diff options
-rw-r--r-- | sos/cleaner/archives/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/cleaner/archives/__init__.py b/sos/cleaner/archives/__init__.py index f7c5eb58..0fa1ef43 100644 --- a/sos/cleaner/archives/__init__.py +++ b/sos/cleaner/archives/__init__.py @@ -104,7 +104,7 @@ class SoSObfuscationArchive(): if toplevel.isdir(): return toplevel.name else: - return os.sep + return os.path.dirname(toplevel.name) or os.sep return os.path.abspath(self.archive_path) def report_msg(self, msg): |