Commit e6dccaf1 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tools/pyboard.py: Make -c (inline Python code) option compatible with python2.

parent ae580355
......@@ -275,7 +275,7 @@ def main():
sys.exit(1)
if args.command is not None:
execbuffer(bytes(args.command, 'utf-8'))
execbuffer(args.command.encode('utf-8'))
for filename in args.files:
with open(filename, 'rb') as f:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment