Skip to content

Commit

Permalink
Fix missing "f" for f string in _install_linux()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Harnau committed Jul 4, 2023
1 parent fa8097e commit 775fda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbdev/quarto.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _sprun(cmd):
def _install_linux():
machine = 'arm' if uname().machine in ('arm64', 'aarch64', 'armv8', 'armv8l') else 'amd'
system(f'curl -LO {BASE_QUARTO_URL}quarto-linux-{machine}64.deb')
system('sudo dpkg -i quarto-linux-{machine}64.deb && rm quarto-linux-{machine}64.deb')
system(f'sudo dpkg -i quarto-linux-{machine}64.deb && rm quarto-linux-{machine}64.deb')

def _install_mac():
system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg')
Expand Down
2 changes: 1 addition & 1 deletion nbs/api/14_quarto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"def _install_linux():\n",
" machine = 'arm' if uname().machine in ('arm64', 'aarch64', 'armv8', 'armv8l') else 'amd'\n",
" system(f'curl -LO {BASE_QUARTO_URL}quarto-linux-{machine}64.deb')\n",
" system('sudo dpkg -i quarto-linux-{machine}64.deb && rm quarto-linux-{machine}64.deb')\n",
" system(f'sudo dpkg -i quarto-linux-{machine}64.deb && rm quarto-linux-{machine}64.deb')\n",
" \n",
"def _install_mac():\n",
" system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg')\n",
Expand Down

0 comments on commit 775fda8

Please sign in to comment.