1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-02 07:50:04 +03:00

Hopefully fixed arg passing issue between cmd.py and oeis.sh

This commit is contained in:
Your Name 2020-06-03 16:17:23 -04:00
parent 4b02b11c5a
commit 28ce919865

View File

@ -130,8 +130,9 @@ class AdapterOeis(CommandAdapter):
cmd[0] = _get_abspath(cmd[0])
# cut oeis/ off
# Space delimiter for args to oeis.sh
if topic.startswith("oeis/"):
topic = topic[5:]
topic = topic[5:].replace('+',' ')
return cmd + [topic]