Update: Working on SDR RX
- Switched to using GQRX - Created a handler to connect over Telnet to local GQRS TODO - Need to find a way to close GQRX without closing the application; Can't start the app with the radio listening, so it must be opened manually
This commit is contained in:
@@ -152,3 +152,14 @@ def get_user_mention_channel_id():
|
||||
print("Length error in ID, please try again")
|
||||
channel_id = None
|
||||
continue
|
||||
|
||||
|
||||
def check_negative(s):
|
||||
try:
|
||||
f = float(s)
|
||||
if (f < 0):
|
||||
return True
|
||||
# Otherwise return false
|
||||
return False
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user