Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

whitespaces in sys.argv #7

Closed
pausiert opened this issue Apr 6, 2012 · 1 comment
Closed

whitespaces in sys.argv #7

pausiert opened this issue Apr 6, 2012 · 1 comment

Comments

@pausiert
Copy link

pausiert commented Apr 6, 2012

if you pass more than one word via command line without quotes just the first param is used ("python groove.py foo bar" will only search for foo
may change a few lines like this:

    print entrystring
    init()
    getToken()
    m = 0
    input = " ".join(sys.argv[1:])
    s = getResultsFromSearch(input)

cheers

@gsteph
Copy link
Owner

gsteph commented Jun 16, 2012

Fixed in the last commit. Thanks for the report!

@gsteph gsteph closed this as completed Jun 16, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants