Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed Apr 7, 2020
1 parent 9fdca64 commit 1c07c49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions QACTPBeeBroker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from QACTPBeeBroker.setting import eventmq_ip, ip
from QAPUBSUB.producer import publisher_routing, publisher_topic

__version__ = '1.3'
__version__ = '1.4'
__author__ = 'yutiansut'


Expand Down Expand Up @@ -121,7 +121,7 @@ def go(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
@click.option('--appid', default="simnow_client_test")
@click.option('--authcode', default="0000000000000000")
def gopro(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
app = CtpBee("last", __name__,'pro')
app = CtpBee("last", __name__)
info = {
"CONNECT_INFO": {
"userid": userid,
Expand All @@ -136,7 +136,7 @@ def gopro(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
}

app.config.from_mapping(info)
data_recorder = DataRecorder("data_recorder")
data_recorder = DataRecorder("data_recorder", model='pro')
# 或者直接 data_recorder = DataRecorder("data_recorder", app)
app.add_extension(data_recorder)
app.start()
Expand Down

0 comments on commit 1c07c49

Please sign in to comment.