Skip to content

Commit

Permalink
revert importlib_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Sep 25, 2024
1 parent ab7b203 commit c19a485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapseclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

import importlib_resources
import importlib.resources
import requests # ensure user-agent is set to track Synapse Python client usage

from .activity import Activity
Expand Down Expand Up @@ -31,7 +31,7 @@
from .team import Team, TeamMember, UserGroupHeader, UserProfile
from .wiki import Wiki

ref = importlib_resources.files(__name__).joinpath("synapsePythonClient")
ref = importlib.resources.files(__name__).joinpath("synapsePythonClient")
with ref.open("r") as fp:
__version__ = json.load(fp)["latestVersion"]

Expand Down

0 comments on commit c19a485

Please sign in to comment.