if we're on waiting, go on /invits.php to get my own id
This commit is contained in:
parent
4144380dd9
commit
6330ab2515
4 changed files with 27 additions and 10 deletions
|
|
@ -101,8 +101,8 @@ class PriorityConnection(Optimization):
|
|||
|
||||
def check_godchilds(self):
|
||||
with self.browser:
|
||||
my_id = self.browser.get_my_id()
|
||||
try:
|
||||
my_id = self.browser.get_my_id()
|
||||
nb_godchilds = self.browser.nb_godchilds()
|
||||
except AdopteWait:
|
||||
nb_godchilds = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue