Merge remote-tracking branch 'origin/pr/164'

* origin/pr/164:
  Fixed minor error in Qubes Backup
This commit is contained in:
Marek Marczykowski-Górecki 2019-03-31 23:00:07 +02:00
commit 1d68a70356
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -163,6 +163,8 @@ def get_path_from_vm(vm, service_name):
return None
stdout, _stderr = vm.run_service_for_stdio(service_name)
stdout = stdout.strip()
untrusted_path = stdout.decode(encoding='ascii')[:path_max_len]
if not untrusted_path: