bang: fix issue with missing first word w/ default
This commit is contained in:
parent
cdfae0009d
commit
d267901ad8
2
bang.py
2
bang.py
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue