diff --git a/src/modules/unsquashfs/main.py b/src/modules/unsquashfs/main.py index 3df2d5662..350269b2d 100644 --- a/src/modules/unsquashfs/main.py +++ b/src/modules/unsquashfs/main.py @@ -112,7 +112,7 @@ class UnsquashOperation: imgbasename = os.path.splitext( os.path.basename(entry.source))[0] - imgmountdir = source_mount_path + os.sep + imgbasename + imgmountdir = os.path.join(source_mount_path, imgbasename) os.mkdir(imgmountdir) self.report_progress() self.unsquash_image(entry, imgmountdir)