Check and replace slashes with dashes to avoid directory creation error (#402)

* Added check for track titles containing slashes

* Revert white-space typos

* Added check for windows backslash

* Added check for non-string filename titles
This commit is contained in:
Manveer Basra
2018-10-21 04:51:31 -04:00
committed by Ritiek Malhotra
parent b12ca8c785
commit acff5fc8e2
2 changed files with 11 additions and 8 deletions

View File

@@ -206,7 +206,6 @@ def main():
log.debug("Platform: {}".format(platform.platform()))
log.debug(pprint.pformat(const.args.__dict__))
try:
if const.args.song:
download_single(raw_song=const.args.song)