mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
Fix usage of local python-bitcoinlib
Previously was using the system-wide python-bitcoinlib, if it existed, rather than the local copy that you check out in the README.
This commit is contained in:
parent
16a2f93629
commit
63b5840257
@ -10,8 +10,9 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Add python-bitcoinlib to module search path:
|
# Add python-bitcoinlib to module search path, prior to any system-wide
|
||||||
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib"))
|
# python-bitcoinlib.
|
||||||
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib"))
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user