Skip to content

Commit

Permalink
Fix skeleton check
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Jun 22, 2024
1 parent bd97738 commit 5f39ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallium/virtuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, name, skeleton=DEFAULT_SKELETON_DIR):
self.skeleton = skeleton

def _copy_skeleton(self):
if self.skeleton is None or os.path.exists(self.home):
if not self.skeleton or os.path.exists(self.home):
return
if os.path.exists(self.skeleton):
shutil.copytree(self.skeleton, self.home)
Expand Down

0 comments on commit 5f39ae4

Please sign in to comment.