From e511c02ba16897357fa0b50d4ed061acd588f52c Mon Sep 17 00:00:00 2001 From: inorizushi Date: Wed, 10 Nov 2021 21:54:43 -0600 Subject: [PATCH] fix replace in line 15 --- vagrant_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant_setup.py b/vagrant_setup.py index a3fd4fe..15a8c70 100644 --- a/vagrant_setup.py +++ b/vagrant_setup.py @@ -12,7 +12,7 @@ def find_line_items(identifier, input_string): def get_usb_devices(): usb_string = subprocess.check_output(['VBoxManage', 'list', 'usbhost']) - usb_string = usb_string.decode("utf-8").replace('r', '') + usb_string = usb_string.decode("utf-8").replace('\r', '') usb_devices = usb_string.split("\n\n") devices = []