Skip to content

Commit 3d0721e

Browse files
authored
Update mqtt-publisher.py
Handle case of keys arg not provided
1 parent 9d98d81 commit 3d0721e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hal/user_comps/mqtt-publisher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def usage():
116116
@staticmethod
117117
def main():
118118
from optparse import Option, OptionParser
119+
keys={}
119120
options = [
120121
Option( '--dryrun', dest='dryrun', action='store_true',
121122
help='Dryrun, only collect HAL pin values, do not send them to MQTT.'),

0 commit comments

Comments
 (0)