일단 커밋. 오랫동안 커밋을 안해서 꼬였다.

리팩토리 중.
This commit is contained in:
2025-11-15 15:59:49 +09:00
parent 5a47b792d6
commit d79c10b975
12909 changed files with 2070539 additions and 285 deletions

View File

@@ -0,0 +1,15 @@
import os
import pkgutil
import sys
from .lib import _load_json
data_path = os.path.join(sys.prefix, "share", "xyzservices", "providers.json")
if os.path.exists(data_path):
with open(data_path) as f:
json = f.read()
else:
json = pkgutil.get_data("xyzservices", "data/providers.json")
providers = _load_json(json)