Skip to content

branch 'master' broken - local variable 'host' referenced before assignment #69

@mungewell

Description

@mungewell

branch 'master' is broken, but 'develop' appears to function OK.

simon@thevoid:~/sony_camera_api-github$ python2 examples/scan_for_cameras.py 
Traceback (most recent call last):
  File "examples/scan_for_cameras.py", line 7, in <module>
    cameras =  search.discover(5)
  File "build/bdist.linux-x86_64/egg/pysony.py", line 54, in discover
  File "build/bdist.linux-x86_64/egg/pysony.py", line 70, in _listen_for_discover
UnboundLocalError: local variable 'host' referenced before assignment
simon@thevoid:~/sony_camera_api-github$ git branch -v
  develop d65482c  add 3.8
* master  ad78953  fix typo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions