code format

This commit is contained in:
foamyguy 2021-12-20 07:38:16 -06:00
parent 2ce9dc7680
commit 577358ae99
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ if DEBUG:
def dprint(*v):
print(*v)
else:
def dprint(*v):

View File

@ -83,6 +83,7 @@ if "length" in inspect.getfullargspec(usb.util.get_string).args:
def get_string(dev, index):
return usb.util.get_string(dev, 255, index)
else:
# PyUSB 1.0.0.b2 dropped the length argument
def get_string(dev, index):