Skip Montanaro wrote: > Any objection if I check in the attached modification of your script as > .../Tools/scripts/hotshotmain.py? It doesn't seem to work with the -p > flag. Unfortunately, I have to take my son to hockey practice, so I can't > debug that problem right now. From modified script: ======================= profile = PROFILE for opt, arg in opts: if opt in ("-h", "--help"): usage() return 0 if opt in ("-p", "--profile"): profile = arg return 0 ======================== Should that second 'return 0' be there? Regards, Nick. -- Nick Coghlan | Brisbane, Australia Email: ncoghlan at email.com | Mobile: +61 409 573 268
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4