Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Nov 18, 2024
1 parent 580076d commit 7e3fddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyhockeystats/xmldtd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ def get_file_paths(base_function, use_pkg_resources=False):
# Now that we have the file paths, let's open and read the relevant files

hockeyfp = open(file_paths["hockeydata.dtd"], "r", encoding="UTF-8")
hockeysgmldtdstring = hockeyfp.read()
hockeyxmldtdstring = hockeyfp.read()
hockeyfp.close()

hockeyaltfp = open(file_paths["hockeydatabase.dtd"], "r", encoding="UTF-8")
hockeyaltsgmldtdstring = hockeyaltfp.read()
hockeyaltxmldtdstring = hockeyaltfp.read()
hockeyaltfp.close()

# You can now use `hockeyxmldtdstring` and `hockeyaltxmldtdstring`
Expand Down

0 comments on commit 7e3fddd

Please sign in to comment.