View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#19
Hmm, I'm having trouble getting flipclock to use the new paths. Anyone know what the correct way to do:
str("/usr/share/flipclock/")+(orario[3])+".png"
is in python?

Atm, I'm getting:
Traceback (most recent call last):
File "/usr/bin/flipclock.py", line 91, in <module>
cfr1,cfr2,cfr3,cfr4=singole()
File "/usr/bin/flipclock.py", line 48, in singole
cfr2=str("/usr/share/flipclock/")+(orario[3])+".png"
TypeError: cannot concatenate 'str' and 'int' objects
(Tried
str"/usr/share/flipclock/"+(orario[3])+".png"
but then it says it is invalid syntax)

Last edited by qwerty12; 2008-12-15 at 08:11.