tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
804 stars 90 forks source link

refactor: use pathlib to read and write text #260

Closed waketzheng closed 1 year ago

waketzheng commented 1 year ago

It's more pythonic to read/write file by pathlib instead of with open.

long2ice commented 1 year ago

Thanks!