Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves import pygeoweaver issue in windows #49

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading