zheminzhou / EToKi

all methods related to Enterobase
https://enterobase.warwick.ac.uk
GNU General Public License v3.0
39 stars 18 forks source link

Doesn't handle Help when no module is given #6

Closed happykhan closed 5 years ago

happykhan commented 5 years ago

python EToKi/EToKi.py -h Doesn't handle Help when no module is given

Traceback (most recent call last):
  File "EToKi/EToKi.py", line 55, in <module>
    etoki()
  File "EToKi/EToKi.py", line 31, in etoki
    exec('from modules.{0} import {0}'.format(sys.argv[1]))
  File "<string>", line 1
    from modules.-h import -h
zheminzhou commented 5 years ago

Thanks. Fixed in the latest update.