use self.do instead of self.weboob.do in console apps

This commit is contained in:
Christophe Benz 2010-08-12 16:44:42 +02:00
commit 7df5136b5f
10 changed files with 21 additions and 21 deletions

View file

@ -36,7 +36,7 @@ class Geolooc(ConsoleApplication):
return 1
self.load_configured_backends(ICapGeolocIp)
for backend, location in self.weboob.do('get_location', argv[1]):
for backend, location in self.do('get_location', argv[1]):
self.format(location, backend.name)
return 0