Skip to content

Commit 79c1c09

Browse files
committed
fix to config parser
1 parent 7c266eb commit 79c1c09

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/textpair/parse_config.py

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ def __parse_config(self):
3737
self.web_app_config["api_server"] = global_config["WEB_APP"]["api_server"]
3838
config = configparser.ConfigParser()
3939
config.read(self.__cli_args["config"])
40-
self.web_app_config["source_url"] = config["TEXT_SOURCES"]["source_url"]
41-
self.web_app_config["target_url"] = config["TEXT_SOURCES"]["target_url"]
4240
if self.__cli_args["is_philo_db"] is True:
4341
self.web_app_config["source_philo_db_path"] = config["TEXT_SOURCES"]["source_file_path"]
4442
self.web_app_config["target_philo_db_path"] = config["TEXT_SOURCES"]["target_file_path"] or config["TEXT_SOURCES"]["source_file_path"]

0 commit comments

Comments
 (0)