File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -855,11 +855,15 @@ def receive(self) -> None:
855855 if os .environ .get ("SEND_CLUSTER" , False ) is not False :
856856 print (f"{ data } " )
857857
858- if "login:" in data or "call:" in data or "callsign:" in data :
858+ if (
859+ "login:" in data .lower ()
860+ or "call:" in data .lower ()
861+ or "callsign:" in data .lower ()
862+ ):
859863 self .send_command (self .callsignField .text ())
860864 return
861865
862- if "password:" in data :
866+ if "password:" in data . lower () :
863867 self .send_command (self .settings .get ("cluster_password" , "" ))
864868 return
865869
Original file line number Diff line number Diff line change 44
55# If no date passed in, use today.
66thevar=" "
7- if [$1 -eq " " ]; then
7+ if [ " $1 " = " " ]; then
88 thevar=` date +" %F" `
99else
1010 thevar=$1
You can’t perform that action at this time.
0 commit comments