We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7562f commit b29b5dfCopy full SHA for b29b5df
1 file changed
hydra_agent/querying_mechanism.py
@@ -658,7 +658,7 @@ def query(apidoc, url):
658
659
while True:
660
print("press exit to quit")
661
- query = input(">>>")
+ query = input(">>>").strip()
662
if query == "exit":
663
break
664
elif query == "help":
@@ -672,7 +672,7 @@ def main():
672
Take URL as an input and make graph using initilize function.
673
:return: call query function for more query.
674
"""
675
- url = input("url>>>")
+ url = input("url>>>").strip()
676
if url == "exit":
677
print("exit...")
678
return 0
@@ -681,7 +681,7 @@ def main():
681
682
if isinstance (apidoc, RequestError):
683
print("enter right url")
684
685
686
687
0 commit comments