soraxas / echo360

Commandline tool for automated downloads of echo360 videos hosted by university
https://cs.tinyiu.com/echo360
MIT License
261 stars 51 forks source link

fixed argument name error #57

Closed YangZejiang closed 2 years ago

soraxas commented 2 years ago

looks like the upstream library changed the argument name from multi_select to multiselect some time ago.

https://github.com/wong2/pick/blame/d9d893d2d48dc1fa7bec1e5aad8d15fa1282cf97/pick/__init__.py#L24

https://github.com/wong2/pick/blame/a5d49def34cd914e9322a07c567145c6c0000b7d/src/pick/__init__.py#L23

I will test if the new version pick still works in both python 2/3, freeze the pick version that supports both, and merges these changes

soraxas commented 2 years ago

using pick==0.6.7 would be both using the new arg style, and compatible with python 2 and 3.