File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def get_signal_info():
143
143
if __name__ == "__main__" :
144
144
logging .basicConfig ( format = "%(asctime)s: %(message)s" , level = logging .INFO , datefmt = "%H:%M:%S" )
145
145
146
- versionnumber = '1.4.0 '
146
+ versionnumber = '1.4.1 '
147
147
148
148
logging .info (f'===== sms2mqtt v{ versionnumber } =====' )
149
149
@@ -186,13 +186,13 @@ def get_signal_info():
186
186
187
187
logging .info ('Gammu initialized' )
188
188
189
- client = mqtt .Client (mqttclientid , mqttport )
189
+ client = mqtt .Client (mqttclientid )
190
190
client .username_pw_set (mqttuser , mqttpassword )
191
191
client .on_connect = on_mqtt_connect
192
192
client .on_disconnect = on_mqtt_disconnect
193
193
client .on_message = on_mqtt_message
194
194
client .will_set (f"{ mqttprefix } /connected" , "0" , 0 , True )
195
- client .connect (mqtthost )
195
+ client .connect (mqtthost , mqttport )
196
196
197
197
run = True
198
198
while run :
You can’t perform that action at this time.
0 commit comments