Skip to content

Fix: examples/sc2autosave.py update to Python 3#210

Merged
StoicLoofah merged 1 commit into
ggtracker:upstreamfrom
Primvin:fix-sc2autosave
May 3, 2025
Merged

Fix: examples/sc2autosave.py update to Python 3#210
StoicLoofah merged 1 commit into
ggtracker:upstreamfrom
Primvin:fix-sc2autosave

Conversation

@Primvin

@Primvin Primvin commented Apr 29, 2025

Copy link
Copy Markdown
Contributor

fixed the file sc2autosave.py following the #208 issue by adapting it to Python3

@cclauss cclauss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Can you please add a line or two to the commit message above to tell us how you tested this and what the results were?

Fixed the file by modifying it to use dict() instead of a custom diction that was deleted, modify the map-name parameter to work with the current library, the example was try with python 3.11 with the command: `python .\examples\sc2autosave.py <source> <dest> --rename "{matchup}/({length}) {map} {teams}" --length "%M:%S"` a few parameters are yet to be tested

@StoicLoofah StoicLoofah left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks!

@StoicLoofah StoicLoofah merged commit 33747e2 into ggtracker:upstream May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants