Skip to content

Commit

Permalink
Ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmorgan committed Nov 3, 2023
1 parent 3d9826f commit 37540f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vasppy/vaspmeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def from_file(cls, filename):
track = data.get("track")
xargs = {}
if track:
if type(track) is str:
if isinstance(track, str):
track = [track]
xargs["track"] = track
vaspmeta = VASPMeta(
Expand Down

0 comments on commit 37540f5

Please sign in to comment.