Skip to content

Commit

Permalink
refs dictation-toolbox#14, forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
synkarius committed Oct 1, 2019
1 parent f3024a7 commit 658a334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions castervoice/lib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _get_platform_information():
system_information.update(
{"main binary": os.path.join(sys.exec_prefix, "python.exe")})
system_information.update(
{"hidden console binary": os.path.join(sys.exec_prefix, "pythonw.exe")})
{"hidden console binary": os.path.join(sys.exec_prefix, "pythonw.exe").replace("\\", "/")})
else:
system_information.update({"binary path": os.path.join(sys.exec_prefix, "bin")})
system_information.update(
Expand Down Expand Up @@ -491,7 +491,7 @@ def initialize():
# calculate prerequisites
SYSTEM_INFORMATION = _get_platform_information()
_BASE_PATH = os.path.realpath(__file__).rsplit(os.path.sep + "lib", 1)[0].replace("\\", "/")
_USER_DIR = _validate_user_dir()
_USER_DIR = _validate_user_dir().replace("\\", "/")
_SETTINGS_PATH = os.path.normpath(os.path.join(_USER_DIR, "data/settings.toml"))

for directory in ["data", "rules", "transformers", "hooks", "sikuli"]:
Expand Down

0 comments on commit 658a334

Please sign in to comment.