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 <[email protected]>
  • Loading branch information
Wescoeur committed Nov 15, 2024
1 parent b4d38fe commit 2127780
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 <[email protected]>",
author_email="[email protected]",
Expand Down

0 comments on commit 2127780

Please sign in to comment.