We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76d9fa commit 7004327Copy full SHA for 7004327
examples/requests_adafruit_discord_active_online.py
@@ -59,7 +59,9 @@
59
60
while True:
61
try:
62
- print("\nAttempting to GET DISCORD SHIELD JSON!") # --------------------------------
+ print(
63
+ "\nAttempting to GET DISCORD SHIELD JSON!"
64
+ ) # --------------------------------
65
# Print Request to Serial
66
debug_request = True # Set true to see full request
67
if debug_request:
@@ -84,7 +86,9 @@
84
86
print("JSON Value: ", ada_users)
85
87
online_string = " online"
88
replace_with_nothing = ""
- string_replace_users = ada_users.replace(online_string, replace_with_nothing)
89
+ string_replace_users = ada_users.replace(
90
+ online_string, replace_with_nothing
91
+ )
92
print("Replaced Value: ", string_replace_users)
93
print("Monotonic: ", time.monotonic())
94
0 commit comments