Skip to content

Commit

Permalink
Fix : Replace \ to / in Windows from Drive mounting
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdctop committed Dec 17, 2022
1 parent b26471a commit 91371e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ def main_mode(self) -> int:
self._exit("common:main_mode")

def source_folder(self) -> str:
return self.conf.get("common", "source_folder")
return self.conf.get("common", "source_folder").replace("\\\\", "/").replace("\\", "/")

def failed_folder(self) -> str:
return self.conf.get("common", "failed_output_folder")
return self.conf.get("common", "failed_output_folder").replace("\\\\", "/").replace("\\", "/")

def success_folder(self) -> str:
return self.conf.get("common", "success_output_folder")
return self.conf.get("common", "success_output_folder").replace("\\\\", "/").replace("\\", "/")

def actor_gender(self) -> str:
return self.conf.get("common", "actor_gender")
Expand Down

0 comments on commit 91371e8

Please sign in to comment.