I was zsync-ing the latest Ubuntu 11.10 Alpha and thought I'd make a little GUI for it as a small project. The gui is set up, I just need to figure out how to run zsync with content from to variables, cto and cfrom. I tried the following code:
Code:
os.system('zsync -i ' + cto + ' ' + cfrom)
which gives me the error:
Code:
Traceback (most recent call last):
File "zsync.py", line 45, in start_button_clicked
os.system('zsync -i ' + cto + ' ' + cfrom)
TypeError: cannot concatenate 'str' and 'builtin_function_or_method' objects
Does anyone know how to fix this?
Thanks!
