1
0
Fork 0

bang: fix issue with missing first word w/ default

This commit is contained in:
Adrien Abraham 2023-11-08 14:27:59 +01:00
parent cdfae0009d
commit d267901ad8

View file

@ -157,6 +157,8 @@ def main():
handle = default_handle handle = default_handle
if len(parts) == 1: if len(parts) == 1:
queries.append(parts[0]) queries.append(parts[0])
else:
queries.append(output)
if len(parts) == 2: if len(parts) == 2:
queries.append(parts[1]) queries.append(parts[1])