From 9c27add9683a2a237e9beb6a25d0ce78554e27ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 30 Jul 2014 15:06:59 +0200 Subject: [PATCH] Use os.path.join --- src/modules/unsquashfs/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)