Skip to content

Commit

Permalink
Fix nbdkit plugin location for python 3
Browse files Browse the repository at this point in the history
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>
  • Loading branch information
Wescoeur committed Nov 15, 2024
1 parent 4a4ec43 commit c0122a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbd_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import subprocess
import sys

WORKING_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), '')
WORKING_DIR = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), '')
NBDKIT_PLUGIN = WORKING_DIR + '../lib64/nbdkit/plugins/nbdkit-multi-http-plugin.so'

# ==============================================================================
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setup(
name="http-nbd-transfer",
version="1.4.0",
version="1.4.1",
description="Set of tools to transfer NBD requests to an HTTP server",
author="Ronan Abhamon <ronan.abhamon@vates.tech>",
author_email="ronan.abhamon@vates.tech",
Expand Down

0 comments on commit c0122a8

Please sign in to comment.