Skip to content
Snippets Groups Projects

fix: Only import deviceaccess where needed

Merged Jens Georg requested to merge fix/drop-global-deviceaccess into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -18,7 +18,6 @@ from .ExternalTools import RSync
from .Command import AbstractCommand
import json
import subprocess
import deviceaccess
import ctypes
import time
import xml.dom.minidom as xmlmini
@@ -197,6 +196,7 @@ class _TestEnvCommand(AbstractCommand):
f"Server not yet available after {i * sleep_time_between_tries} seconds. Limit: {time_limit_in_s}")
try:
with HideOutput(): # to reduce spam from fail-messages from doocs lib
import deviceaccess
d = deviceaccess.Device(f"(doocs:{doocs_address})")
d.open()
Loading