Skip to content

Commit

Permalink
resolves import pygeoweaver issue in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
srinijammula committed Dec 7, 2024
1 parent e9b7deb commit 892fd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoweaver/pgw_log_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setup_logging():
# Open the pgw_logging.ini file
with open(logging_ini_path, 'rt') as f:
config_str = f.read()
config_str = config_str.replace('%(log_file)s', os.path.expanduser(log_file))
config_str = config_str.replace('%(log_file)s', os.path.abspath(log_file).replace('\\', '/'))

config_file = f'{current_folder}/logging_temp.ini'
with open(config_file, 'wt') as f:
Expand Down

0 comments on commit 892fd72

Please sign in to comment.