Skip to content

Commit ec30a93

Browse files
authored
Merge pull request #491 from mbridak/account-for-password-prompt-case
Account for password prompt case
2 parents fac86e8 + 4577d41 commit ec30a93

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

not1mm/bandmap.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

parse_gitlog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#If no date passed in, use today.
66
thevar=""
7-
if [$1 -eq ""]; then
7+
if [ "$1" = "" ]; then
88
thevar=`date +"%F"`
99
else
1010
thevar=$1

0 commit comments

Comments
 (0)