use self.do instead of self.weboob.do in console apps
This commit is contained in:
parent
53f6571fee
commit
7df5136b5f
10 changed files with 21 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue