Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos corrected. #3

Merged
merged 1 commit into from
Mar 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions wizconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def run(self):
sys.exit(0)

op_code = OP_SETCOMMAND
print('Devcie configuration start...\n')
print('Device configuration start...\n')
# General config

if args.alloc: setcmd['IM'] = args.alloc
Expand Down Expand Up @@ -386,7 +386,7 @@ def run(self):
cmd_list = wizmakecmd.factory_reset(mac_addr)
else:
# op_code = OP_SETCOMMAND
print('[Multi] Setting devcies %d: %s' % (i+1, mac_addr))
print('[Multi] Setting devices %d: %s' % (i+1, mac_addr))
cmd_list = wizmakecmd.setcommand(mac_addr, list(setcmd.keys()), list(setcmd.values()))
get_cmd_list = wizmakecmd.getcommand(mac_addr, list(setcmd.keys()))
th_config = MultiConfigThread(mac_addr, cmd_list, OP_SETCOMMAND)
Expand Down Expand Up @@ -426,7 +426,7 @@ def run(self):
print('[Getfile] Get device [%s] info from \'%s\' commands\n' % (mac_addr, args.getfile))
cmd_list = wizmakecmd.get_value(mac_addr, args.getfile)
else:
print('* Single devcie config: %s' % mac_addr)
print('* Single device config: %s' % mac_addr)
cmd_list = wizmakecmd.setcommand(mac_addr, list(setcmd.keys()), list(setcmd.values()))
get_cmd_list = wizmakecmd.getcommand(mac_addr, list(setcmd.keys()))
# print('get_cmd_list', get_cmd_list)
Expand Down Expand Up @@ -473,4 +473,4 @@ def run(self):
wizmsghangler.parseresponse()

# wizmsghangler.get_log()