Move debug statement
This commit is contained in:
+1
-1
@@ -44,12 +44,12 @@ def battery():
|
||||
else:
|
||||
# Power Adapter NOT plugged in
|
||||
adapter = "out"
|
||||
print("HERE")
|
||||
data['percentage'] = []
|
||||
data['percentage'].append({
|
||||
'level': capacity,
|
||||
'voltage': voltage
|
||||
})
|
||||
print("HERE")
|
||||
data['adapter'] = []
|
||||
data['adapter'].append({
|
||||
'status': adapter
|
||||
|
||||
Reference in New Issue
Block a user