Commit 94379fb3 by Guba Sándor Committed by Őry Máté

fix typo in Disk.merge

parent 095e35c7
......@@ -224,7 +224,7 @@ class Disk(object):
if os.path.isfile(new_disk.get_path()):
raise Exception('File already exists: %s' % self.get_path())
# Check if base file exist
if not os.path.isfile(self.get_path()):
if not os.path.isfile(self.get_base()):
raise Exception('Original image does not exists: %s'
% self.get_base())
cmdline = ['qemu-img',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment