Browse Source

bugfix obwatcher options load

master
Adam Gibson 6 years ago
parent
commit
cfa032d0c2
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 4
      scripts/obwatch/ob-watcher.py

4
scripts/obwatch/ob-watcher.py

@ -33,7 +33,8 @@ except:
sys.exit(EXIT_FAILURE) sys.exit(EXIT_FAILURE)
from jmbase import get_log from jmbase import get_log
from jmclient import jm_single, load_program_config, calc_cj_fee, get_irc_mchannels from jmclient import jm_single, load_program_config, calc_cj_fee, \
get_irc_mchannels, add_base_options
from jmdaemon import OrderbookWatch, MessageChannelCollection, IRCMessageChannel from jmdaemon import OrderbookWatch, MessageChannelCollection, IRCMessageChannel
#TODO this is only for base58, find a solution for a client without jmbitcoin #TODO this is only for base58, find a solution for a client without jmbitcoin
import jmbitcoin as btc import jmbitcoin as btc
@ -448,6 +449,7 @@ def main():
parser = OptionParser( parser = OptionParser(
usage='usage: %prog [options]', usage='usage: %prog [options]',
description='Runs a webservice which shows the orderbook.') description='Runs a webservice which shows the orderbook.')
add_base_options(parser)
parser.add_option('-H', parser.add_option('-H',
'--host', '--host',
action='store', action='store',

Loading…
Cancel
Save