diff --git a/.gitignore b/.gitignore index 8023036..27d062f 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ comic_dl/build/__main__/warn__main__.txt *.pdf *.old2 comic_dl/build/__main__/xref-__main__.html +*.xml___jb_tmp___ diff --git a/Changelog.md b/Changelog.md index 7ddde3e..b575822 100644 --- a/Changelog.md +++ b/Changelog.md @@ -57,4 +57,5 @@ - Fix conversion filepath of cbz format [2017.11.15] - @dsanchezseco [#55] - Fix For #50 [2017.11.26] - @Tyroc [#56] - Added Support for [MangaReader.net](http://mangareader.net/) (#43) [2017.12.22] -- Added Support for [readcomicbooksonline.net](http://readcomicbooksonline.net/) (#57) [2017.12.26] \ No newline at end of file +- Added Support for [readcomicbooksonline.net](http://readcomicbooksonline.net/) (#57) [2017.12.26] +- Fix For #60 [2017.12.26] \ No newline at end of file diff --git a/comic_dl/globalFunctions.py b/comic_dl/globalFunctions.py index 78d0a48..95241dd 100644 --- a/comic_dl/globalFunctions.py +++ b/comic_dl/globalFunctions.py @@ -178,14 +178,14 @@ class GlobalFunctions(object): def conversion_cleaner(self, file_path): print("Cleaning Up...") - path_breaker = str(file_path).split("/") + path_breaker = str(file_path).split(os.sep) path_breaker.pop() - old_path = '/'.join(path_breaker) + old_path = os.sep.join(path_breaker) path_breaker = str(old_path).split(os.sep) path_breaker.pop() - new_path = str('/'.join(path_breaker)) + "/" + new_path = str(os.sep.join(path_breaker)) + os.sep try: shutil.move(file_path, new_path) diff --git a/docs/Changelog.md b/docs/Changelog.md index 7ddde3e..b575822 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -57,4 +57,5 @@ - Fix conversion filepath of cbz format [2017.11.15] - @dsanchezseco [#55] - Fix For #50 [2017.11.26] - @Tyroc [#56] - Added Support for [MangaReader.net](http://mangareader.net/) (#43) [2017.12.22] -- Added Support for [readcomicbooksonline.net](http://readcomicbooksonline.net/) (#57) [2017.12.26] \ No newline at end of file +- Added Support for [readcomicbooksonline.net](http://readcomicbooksonline.net/) (#57) [2017.12.26] +- Fix For #60 [2017.12.26] \ No newline at end of file