sanjayseshan / spikeprime-tools

Tools for interacting with SPIKE PRIME Micropython environment
30 stars 9 forks source link

Not all files have a 'size' on my Spikehub #9

Closed BertLindeman closed 3 years ago

BertLindeman commented 3 years ago

On my Spike hub at the current firmware level, I get this error on "ls" command:

  File "./spikejsonrpcapispike.py", line 219, in <module>
    args.func()
  File "./spikejsonrpcapispike.py", line 135, in handle_list
    print("%4s %-40s %5db %-20s %-12s %-10s" % (i, decoded_name, sl['size'], modified, project, type))
KeyError: 'size'

Will create a PR

sanjayseshan commented 3 years ago

Just merged. Unfortunately when LEGO updates the firmware, sometimes some features break and need to be updated.