bossanova808 Wrote:No errors here under Windows 7 or Openelec (linux, basically) - what platform are you on?
That's a pretty basic bit of the script and the syntaax is definitely correct - maybe there's a weird CR/LF thing going on, I am not sure about that '\n' bit as that's not in the source obviously, but might be coming from the xbmc log stuff.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
$ uname -a
Linux htpc 2.6.35-32-generic-pae #64-Ubuntu SMP Tue Jan 3 00:57:30 UTC 2012 i686 GNU/Linux
$ python -V
XBMC 10.1 (Compiled: Mar 9 2011)
Transparency v3.11.7 skin
Oz Weather v0.3.2