Skip to content

Commit

Permalink
fixing global access to device breaking the script.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastedtoast authored Feb 5, 2018
1 parent f28976e commit 0af633d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dymo/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self):
self.device.detach_kernel_driver(0)

self.device.set_configuration()
self.endpoint = device[0][(0,0)][0]
self.endpoint = self.device[0][(0,0)][0]


def get_weight_grams(self):
Expand Down

0 comments on commit 0af633d

Please sign in to comment.