~conky-companions/+junk/conkyforecast

« back to all changes in this revision

Viewing changes to conkyForecast.py

  • Committer: Mark Buck (Kaivalagi)
  • Date: 2009-08-12 18:55:05 UTC
  • Revision ID: m_buck@hotmail.com-20090812185505-04jlq51f7gi4bfbj
Fixed bug with default BASE_XOAP_URL no loading when nothing set in config

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
    XOAP_PARTNER_ID = "" # need config with correct partner id
206
206
    XOAP_LICENCE_KEY = "" # need config with correct licence key
207
207
    MAXIMUM_DAYS_FORECAST = 4
208
 
    BASE_TWC_XOAP = "http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m"
 
208
    BASE_XOAP_URL = "http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m"
209
209
 
210
210
 
211
211
class ForecastDataset:
1532
1532
 
1533
1533
    if options.version == True:
1534
1534
        
1535
 
        print >> sys.stdout,"conkyForecast v.2.06"
 
1535
        print >> sys.stdout,"conkyForecast v.2.07"
1536
1536
        
1537
1537
    else:
1538
1538