diff --git a/dislocker_client.py b/dislocker_client.py index f649ac5..e0cfb71 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -30,8 +30,8 @@ sp_startupinfo.wShowWindow = subprocess.SW_HIDE resource_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "resource") config_dir_path = "./config/" client_config_path = config_dir_path + "client.json" -lang_dir_path = "./lang/" -lang_path = lang_dir_path + "lang_client.json" +lang_dir_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "lang") +lang_path = lang_dir_path + "\\lang_client.json" if not os.path.isfile(client_config_path): if not os.path.isdir(config_dir_path):