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:
parent
4b02b11c5a
commit
28ce919865
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user