Bloodevil / sony_camera_api

sony camera remote api
http://developer.sony.com/develop/cameras/
MIT License
244 stars 60 forks source link

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

Open mungewell opened 3 years ago

mungewell commented 3 years ago

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