| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -294,7 +294,7 @@ def read(self, size=-1): | |||
| 294 | 294 | # However, the zlib VERSIONs as well as the platform check is used to further match the entries in the | |
| 295 | 295 | # table in the github issue. This is it ... it was the only way I could make this work everywhere. | |
| 296 | 296 | # IT's CERTAINLY GOING TO BITE US IN THE FUTURE ... . | |
| 297 | - if zlib.ZLIB_VERSION in ('1.2.7', '1.2.5') and not sys.platform == 'darwin': | ||
| 297 | + if getattr(zlib, 'ZLIB_RUNTIME_VERSION', zlib.ZLIB_VERSION) in ('1.2.7', '1.2.5') and not sys.platform == 'darwin': | ||
| 298 | 298 | unused_datalen = len(self._zip.unconsumed_tail) | |
| 299 | 299 | else: | |
| 300 | 300 | unused_datalen = len(self._zip.unconsumed_tail) + len(self._zip.unused_data) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments