Use os.path.join
This commit is contained in:
parent
22299dc585
commit
9c27add968
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user