kopia lustrzana https://github.com/DL7AD/pecanpico9
Added exception handler
rodzic
117d90b30c
commit
311c532d1f
|
@ -119,6 +119,8 @@ if args.device == 'I': # Source APRS-IS
|
|||
buf += tn.read_eager().decode('ascii')
|
||||
except EOFError: # Server has connection closed
|
||||
wdg = 0 # Tell watchdog to restart connection
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
|
||||
# Line handler
|
||||
if '\n' in buf:
|
||||
|
|
|
@ -57,7 +57,7 @@ function drawItems() {
|
|||
// Image Info Window
|
||||
|
||||
var infowindow = new google.maps.InfoWindow({
|
||||
content: '<img src="' + value.img + '" />'
|
||||
content: '<img src="' + value.img + '" width="512" height="384" />'
|
||||
});
|
||||
marker.addListener('mouseover', function() {
|
||||
infowindow.open(map, marker);
|
||||
|
|
Ładowanie…
Reference in New Issue