mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
snapshots: Fix generating screenshot after py3 conversion
This commit is contained in:
parent
20d5c1887a
commit
2ee69edc8e
@ -394,7 +394,7 @@ class vmmSnapshotPage(vmmGObjectUI):
|
||||
flags = 0
|
||||
mime = self.vm.get_backend().screenshot(stream, screen, flags)
|
||||
|
||||
ret = io.StringIO()
|
||||
ret = io.BytesIO()
|
||||
def _write_cb(_stream, data, userdata):
|
||||
ignore = stream
|
||||
ignore = userdata
|
||||
|
Loading…
Reference in New Issue
Block a user