Image 01
profile-image

Senth

Matteus Magnusson
plasma_pyweather

Plasma 4 Extensions by rangalo 53 comments

in weatherInfo.py add:
import sys, urllib, urllib2, codecs

on line 32 change:
sock = urllib.urlopen(strUrl)
to
sock = urllib2.urlopen(strUrl,timeout=15)


In addition because pyWeather polled googles api too often (every 30sec) I got blocked, so I changed the polling interval to 15 minutes in main.py

main.py:
#self.timer.start(0.5*60000)
self.timer.start(15 * 60 * 1000) #min * sec * ms - Sep 10 2012
translatoid

Plasma 4 Extensions
by dridk

6 .8
Aug 15 2010
Wanta

Fonts
by gluk

5 .0
Aug 15 2010