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 23b6616
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 23b6616

Please sign in to comment.