You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wondering what is the best way to gracefully exit after the fmdpy: prompt. Otherwise, anything that you enter after the fmdpy gives some error
fmdpy: asldkfjalsdkfjal;sdfjlas
Traceback (most recent call last):
File "/home/arsaboo/.local/bin/fmdpy", line 8, in <module>
sys.exit(fmdpy())
File "/home/arsaboo/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/arsaboo/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/arsaboo/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/arsaboo/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/arsaboo/.local/lib/python3.10/site-packages/fmdpy/__main__.py", line 121, in fmdpy
c_pool.append(int(indx)-1)
ValueError: invalid literal for int() with base 10: 'asldkfjalsdkfjal;sdfjlas'
The text was updated successfully, but these errors were encountered:
The prompt is currently in half baked state, Going forward this will be fixed. Sorry can't promise any timeline but you can open up a pull request. exit or quit keyword would work nicely. Error handling on input would also be great. 😃
Wondering what is the best way to gracefully exit after the
fmdpy:
prompt. Otherwise, anything that you enter after thefmdpy
gives some errorThe text was updated successfully, but these errors were encountered: