Skip to content

Commit

Permalink
Merge pull request #49 from ESIPFed/import-pygeoweaver-windows
Browse files Browse the repository at this point in the history
Resolves import pygeoweaver issue in windows
  • Loading branch information
srinijammula authored Dec 9, 2024
2 parents e9b7deb + 892fd72 commit 8dd11dc
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 8dd11dc

Please sign in to comment.