Commit 7af8d98d by Máhonfai Bálint

Fix warning

parent b929e74e
import shutil
import json import json
import shutil
import os import os
import subprocess import subprocess
...@@ -295,7 +292,7 @@ class Disk(object): ...@@ -295,7 +292,7 @@ class Disk(object):
ftype = m.id_filename(downloaded_file) ftype = m.id_filename(downloaded_file)
if 'qcow' in ftype.lower(): if 'qcow' in ftype.lower():
shutil.move(downloaded_file, self.get_path()) move(downloaded_file, self.get_path())
else: else:
cmdline = ['qemu-img', cmdline = ['qemu-img',
'convert', 'convert',
......
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