Skip to content

Commit 8eed7be

Browse files
committed
Revert the change to name
1 parent 41e9d88 commit 8eed7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ctypes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def _load_library(self, name, mode, handle, winmode):
455455
# If the filename that has been provided is an iOS/tvOS/watchOS
456456
# .fwork file, dereference the location to the true origin of the
457457
# binary.
458-
if name and name.endswith(".fwork"):
458+
if name.endswith(".fwork"):
459459
with open(name) as f:
460460
name = _os.path.join(
461461
_os.path.dirname(_sys.executable),

0 commit comments

Comments
 (0)