add exception check to adapter reset
This commit is contained in:
1 parent
d1fa64c7fd
commit
50f9630ff1
1 file changed
+2
-1
+2
-1
@@ -319,4 +319,5 @@ if __name__ == "__main__":
|
||||
test(test_count)
|
||||
except Exception as e:
|
||||
print(f"Test failed brah - {e}")
|
||||
reset_adapter()
|
||||
if "org.freedesktop.DBus.Error.AccessDenied" in e:
|
||||
reset_adapter()
|
||||
Reference in new issue
Block a user