RahulShaw / LinuxAcademy-DL

Download videos from your LinuxAcademy account for offline viewing
MIT License
65 stars 44 forks source link

Fix typo and list object has no attribute 'clear' error #19

Closed MogiePete closed 4 years ago

MogiePete commented 4 years ago

temp_list.clear() on line 117 results in the application failing with "list object has no attribute 'clear' error". Removing line 117 resolves this error and allows the entire course content to be downloaded.

RahulShaw commented 4 years ago

list.clear was introduced in Python 3.3, hence you may like to upgrade your Python version to something higher than that, Python 3.6 won't hurt. Good luck!

MogiePete commented 4 years ago

Yea I noticed when it was too late. Removing the list.clear allows it to work with Python 2.7.

Thanks for your work.