Running the sample code from the repository's main page ends up with a traceback on Windows/PowerShell.

Issue #6 resolved
Dawid Pietrzak
created an issue
PS C:\Users\Dawid> python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wget
>>> url = 'http://wp.pl/'
>>> filename = wget.download(url)
100% [............................................................................] 152157 / 152157Traceback (most recen
t call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python34\lib\site-packages\wget.py", line 318, in download
    if os.path.exists(filename):
  File "C:\Python34\lib\genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: can't specify None for path argument
>>>

Comments (2)

  1. Log in to comment