sdvcrx / pan-baidu-download

百度网盘下载脚本
MIT License
436 stars 103 forks source link

TypeError: init() takes exactly 1 argument (2 given) #7

Closed leonardoxiao closed 9 years ago

leonardoxiao commented 9 years ago

When I run it, I got this error:

$ pan show http://pan.baidu.com/s/xxxxxxx Traceback (most recent call last): File "/usr/local/bin/pan", line 53, in execute_command() File "/usr/local/bin/pan", line 49, in execute_command commandscommand File "/data/projects/pan-baidu-download/command/show.py", line 14, in show pan = Pan(url) TypeError: init() takes exactly 1 argument (2 given)

sdvcrx commented 9 years ago

Fixed. Thanks!

leonardoxiao commented 9 years ago

Thank you for the quick action!