Skip to content

Commit 1c07c49

Browse files
committed
#
1 parent 9fdca64 commit 1c07c49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

QACTPBeeBroker/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from QACTPBeeBroker.setting import eventmq_ip, ip
88
from QAPUBSUB.producer import publisher_routing, publisher_topic
99

10-
__version__ = '1.3'
10+
__version__ = '1.4'
1111
__author__ = 'yutiansut'
1212

1313

@@ -121,7 +121,7 @@ def go(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
121121
@click.option('--appid', default="simnow_client_test")
122122
@click.option('--authcode', default="0000000000000000")
123123
def gopro(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
124-
app = CtpBee("last", __name__,'pro')
124+
app = CtpBee("last", __name__)
125125
info = {
126126
"CONNECT_INFO": {
127127
"userid": userid,
@@ -136,7 +136,7 @@ def gopro(userid, password, brokerid, mdaddr, tdaddr, appid, authcode):
136136
}
137137

138138
app.config.from_mapping(info)
139-
data_recorder = DataRecorder("data_recorder")
139+
data_recorder = DataRecorder("data_recorder", model='pro')
140140
# 或者直接 data_recorder = DataRecorder("data_recorder", app)
141141
app.add_extension(data_recorder)
142142
app.start()

0 commit comments

Comments
 (0)