Linux-SDM-Downloader icon indicating copy to clipboard operation
Linux-SDM-Downloader copied to clipboard

splitext can't split the path

Open TheAifam5 opened this issue 8 years ago • 2 comments

python ./main.py xxxxxxxxxx.sdx will not work. python ./main.py ./xxxxxxxxxx.sdx works.

Logs:

Info: Parsing page
Traceback (most recent call last):
  File "./main.py", line 492, in <module>
    main()
  File "./main.py", line 46, in main
    d.execute()
  File "./main.py", line 125, in execute
    if self._downloadFiles() == False:
  File "./main.py", line 250, in _downloadFiles
    self._setupDLDir()
  File "./main.py", line 380, in _setupDLDir
    os.chdir(os.path.dirname(self._sdxFile))
FileNotFoundError: [Errno 2] No such file or directory: ''

TheAifam5 avatar Nov 26 '16 14:11 TheAifam5

Is there still a problem? What is your operating system? Which version of Python do you use? Please actualize source code and put here output from terminal.

RadekSimkanic avatar May 20 '17 16:05 RadekSimkanic

No, actually works.

Python3. ArchLinux.

TheAifam5 avatar Jun 08 '17 15:06 TheAifam5