Skip to content

Commit

Permalink
Revert "Make it 3.9+, but get rid of deprecation warnings"
Browse files Browse the repository at this point in the history
This reverts commit 01354a0.
  • Loading branch information
DarkFenX committed Sep 9, 2024
1 parent fad1e40 commit 65fb468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/jargon/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# along with pyfa. If not, see <http://www.gnu.org/licenses/>.
# =============================================================================

from importlib.resources import files
import importlib.resources

DEFAULT_DATA = files(__name__).joinpath('defaults.yaml').open('r', encoding='utf8').read()
DEFAULT_HEADER = files(__name__).joinpath('header.yaml').open('r', encoding='utf8').read()
DEFAULT_DATA = importlib.resources.open_text(__name__, 'defaults.yaml').read()
DEFAULT_HEADER = importlib.resources.open_text(__name__, 'header.yaml').read()

0 comments on commit 65fb468

Please sign in to comment.