Skip to content

Commit 064cb1d

Browse files
author
Leimeroth
committed
only
1 parent cd2c96c commit 064cb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calphy/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def create_object(
7474
else:
7575
if cmdargs == "":
7676
cmdargs = None
77-
else:
77+
elif isinstance(str, cmdargs):
7878
cmdargs = cmdargs.split()
7979
lmp = LammpsLibrary(cores=cores, working_directory=directory, cmdargs=cmdargs)
8080

0 commit comments

Comments
 (0)