8000 The autohint script uses `os.rename` to do file move on Windows · Issue #1097 · googlefonts/gftools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
The autohint script uses os.rename to do file move on Windows #1097
Closed
@CrendKing

Description

@CrendKing

Looks like another OS compatibility issue like #1096. If I understand correctly, the autohint script aims to be able to overwrite the input file with the autohinted output so user doesn't have to do the rename dance. It achieves this with a os.rename at the end. Unfortunately, os.rename doesn't work on Windows if the target exists. Like the Python doc suggests, maybe replace with shutil.move for better compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0