fix for __init__.py to make it work from within other packages
nanotube opened this issue · comments
nanotube commented
a quick fix to your python-bitcoinrpc code: in init.py, s/jsonrpc.//
making it look like this:
from json import loads, dumps, JSONEncodeException, JSONDecodeException
from proxy import ServiceProxy, JSONRPCException
doesn't break anything, and makes it work when you stick it inside another package and try to import it (which i do with supybot :) )
Jeff Garzik commented
fix merged