Skip to content

Commit 90bb694

Browse files
authored
Apply suggestion from @PProfizi
1 parent 3bc2141 commit 90bb694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/dpf/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def load_library(
430430
>>> # base.load_library('meshOperatorsCore.dll', 'mesh_operators')
431431
432432
"""
433-
if not name:
433+
if name is None:
434434
name = Path(file_path).name
435435
file_path = str(
436436
PurePosixPath(file_path)

0 commit comments

Comments
 (0)