Skip to content

Commit

Permalink
fixed the update script on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
GChristensen committed Jun 6, 2023
1 parent f762009 commit 401add3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/notebook.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if args.auto_update and not args.skip_update:
remote_version = release["tag_name"]

if args.force_update or remote_version != installed_version:
libpath = site.getsitepackages()[0]
libpath = next(filter(lambda s: "packages" in s, site.getsitepackages()), "")
$TMPDIR = $HOME + "/tmp"
$[mkdir $TMPDIR]
$[git pull origin main]
Expand Down

0 comments on commit 401add3

Please sign in to comment.