From 473ce5f1b2ef68e0bb3e96b68c3cd1259e655aa3 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Fri, 22 Sep 2023 14:48:17 -0600 Subject: [PATCH] Reformat with black --- sndid-alsa | 12 ++++++++++-- sndid-client | 3 +-- sndid-list | 7 ++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sndid-alsa b/sndid-alsa index feac941..1cc0824 100755 --- a/sndid-alsa +++ b/sndid-alsa @@ -62,7 +62,15 @@ PORT = args.port RATE = str(args.rate) TIME = str(args.time) -CMD = ("arecord --rate " + RATE + " -f FLOAT_LE --max-file-time " + TIME + " | nc " + IP + " " + PORT) +CMD = ( + "arecord --rate " + + RATE + + " -f FLOAT_LE --max-file-time " + + TIME + + " | nc " + + IP + + " " + + PORT +) print("Streaming ALSA in to " + IP + ":" + PORT) os.system(CMD) - diff --git a/sndid-client b/sndid-client index 36a3510..ec6727f 100755 --- a/sndid-client +++ b/sndid-client @@ -52,7 +52,6 @@ IP = args.ip PORT = str(args.port) FILE = args.file -CMD = ("cat" + " " + FILE + " | nc -q 0 " + IP + " " + PORT) +CMD = "cat" + " " + FILE + " | nc -q 0 " + IP + " " + PORT print("Sending " + FILE + " to " + IP + ":" + PORT) os.system(CMD) - diff --git a/sndid-list b/sndid-list index ace478d..0591b45 100755 --- a/sndid-list +++ b/sndid-list @@ -77,9 +77,10 @@ DAY = args.day species = SpeciesList() species_list = species.return_list( - lat=LAT, lon=LON, date=datetime(year=YEAR, month=MONTH, day=DAY) + lat=LAT, + lon=LON, + date=datetime(year=YEAR, month=MONTH, day=DAY) # Add option for full list or lat/lon list. - #date=datetime(year=YEAR, month=MONTH, day=DAY) + # date=datetime(year=YEAR, month=MONTH, day=DAY) ) print(species_list) -