trying to fix license not found error
This commit is contained in:
parent
b728adf1cd
commit
c465c10c53
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
import re
|
||||
from datetime import datetime
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ def main():
|
|||
version_replacement = r"\g<1>" + major_minor_version + r".x"
|
||||
|
||||
# Read the LICENSE file
|
||||
with open("LICENSE", encoding="utf8") as file:
|
||||
with open(os.path.join(os.path.dirname(__file__), "LICENSE"), encoding="utf8") as file:
|
||||
license_text = file.read()
|
||||
|
||||
# Replace the version in the LICENSE file
|
||||
|
|
|
|||
Loading…
Reference in a new issue