Skip to content

Commit

Permalink
Merge pull request KonradIT#51 from vvvrrooomm/master
Browse files Browse the repository at this point in the history
fix for hero3 branch never was used due to broken condition
  • Loading branch information
KonradIT authored Mar 19, 2020
2 parents 1ba0b29 + 271ef08 commit e37a7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoProStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def gopro_live():
response=jsondata["info"]["firmware_version"]
except http.client.BadStatusLine:
response = urlopen('http://10.5.5.9/camera/cv').read().decode('utf-8')
if "HD4" in response or "HD3.2" in response or "HD5" in response or "HX" in response or "HD6" or "HD7" in response:
if "HD4" in response or "HD3.2" in response or "HD5" in response or "HX" in response or "HD6" in response or "HD7" in response:
print("branch HD4")
print(jsondata["info"]["model_name"]+"\n"+jsondata["info"]["firmware_version"])
##
Expand Down

0 comments on commit e37a7a6

Please sign in to comment.