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

Bug introduced with multiformat commit #29

Open
jikuja opened this issue Jun 2, 2017 · 0 comments
Open

Bug introduced with multiformat commit #29

jikuja opened this issue Jun 2, 2017 · 0 comments

Comments

@jikuja
Copy link

jikuja commented Jun 2, 2017

Commit 13d43cf introduced a new bug: format argument can not be None anymore. Changing None to "" made my code work. Fixes: fix code or update documentation

ERROR:CmdEvents:Traceback (most recent call last):
  File "E:\projects\iot\iot-project\gateway\CmdEvents\CmdEvents.py", line 25, in run
    message = self.cmdMessenger.receive()
  File "E:\projects\iot\iot-project\gateway\PyCmdMessenger\PyCmdMessenger.py", line 280, in receive
    arg_format_list = self._treat_star_format(arg_format_list,fields[1:])
  File "E:\projects\iot\iot-project\gateway\PyCmdMessenger\PyCmdMessenger.py", line 306, in _treat_star_format
    num_stars = len([a for a in arg_format_list if a == "*"])
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant