You'll find the lists in python don't have a find (no pun intended...) method, but one called index, so sys.argv.find('-config') and sys.argv.find('-c') become sys.argv.index('-config') and sys.argv.index('-c'). Didn't look at the rest, but this came up as I didn't want to have the config in my home directory :-)
Anyway, thanks for the good work, and I +1 the integration into Adium or standalone App :-)
# by thegcat on 09/09/08 at 03:18:02
You'll find the lists in python don't have a find (no pun intended...) method, but one called index, so sys.argv.find('-config') and sys.argv.find('-c') become sys.argv.index('-config') and sys.argv.index('-c'). Didn't look at the rest, but this came up as I didn't want to have the config in my home directory :-)
Anyway, thanks for the good work, and I +1 the integration into Adium or standalone App :-)