Skip to content

Commit e737b10

Browse files
committed
feat(update credits): auto execute in the correct directory
1 parent 63fbe48 commit e737b10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

credits/update_credits_licenses.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@
1111
"""
1212

1313
import logging
14+
import os
15+
from pathlib import Path
1416

1517
import requests
1618

19+
os.chdir(Path(__file__).parent)
20+
1721
# List of direct dependencies and their license URLs
1822
direct_dependencies = [
1923
# {"name": "tkinter", "license_url": "https://docs.python.org/3/license.html"},

0 commit comments

Comments
 (0)