Skip to content

Commit a3ae2a3

Browse files
author
jwiltse
committed
- Fix boolean
1 parent d159123 commit a3ae2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ def compile(self):
647647

648648
# Some src_url don't end in file extension, such as with redirects
649649
# Github releases asset endpoint is this way .../releases/assets/48151
650-
if self.url.endswith(".zip", ".tar.gz"):
650+
if not self.url.endswith(".zip", ".tar.gz"):
651651
suffix = self.cfg_src_suffix() or ".tar.gz"
652652
basename = f"{self.m_name}-{self.version}.{suffix}"
653653
else:

0 commit comments

Comments
 (0)