pyquoks 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyquoks-1.1.0 → pyquoks-1.1.1}/PKG-INFO +1 -1
- {pyquoks-1.1.0 → pyquoks-1.1.1}/setup.cfg +1 -1
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks/data.py +2 -2
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks.egg-info/PKG-INFO +1 -1
- {pyquoks-1.1.0 → pyquoks-1.1.1}/LICENSE +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/README.md +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/pyproject.toml +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/requirements.txt +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks/__init__.py +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks/models.py +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks/utils.py +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks.egg-info/SOURCES.txt +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks.egg-info/dependency_links.txt +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks.egg-info/requires.txt +0 -0
- {pyquoks-1.1.0 → pyquoks-1.1.1}/src/pyquoks.egg-info/top_level.txt +0 -0
|
@@ -12,7 +12,7 @@ class IDataProvider:
|
|
|
12
12
|
def __init__(self) -> None:
|
|
13
13
|
for k, v in self._DATA_VALUES.items():
|
|
14
14
|
try:
|
|
15
|
-
with open(self._PATH.format(k), "rb"
|
|
15
|
+
with open(self._PATH.format(k), "rb") as file:
|
|
16
16
|
setattr(self, k, v(json_data=json.loads(file.read())))
|
|
17
17
|
except:
|
|
18
18
|
setattr(self, k, None)
|
|
@@ -96,7 +96,7 @@ class IAssetsProvider:
|
|
|
96
96
|
|
|
97
97
|
@staticmethod
|
|
98
98
|
def file_image(path: str) -> PIL.Image.Image:
|
|
99
|
-
with open(path, "rb"
|
|
99
|
+
with open(path, "rb") as file:
|
|
100
100
|
return PIL.Image.open(io.BytesIO(file.read()))
|
|
101
101
|
|
|
102
102
|
@staticmethod
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|