Permalink
Browse files

Merge pull request #81 from htfcuddles/master

resolve #73: fix errorno 717,718: 'account auth session failed result'
  • Loading branch information...
2 parents b39365e + 03a3aaf commit aace19a0e47668c11770b5d72e4f5a2b2d063e88 @fffonion committed on GitHub Nov 22, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 swjsq.py
View
@@ -384,6 +384,9 @@ def _atexit_func():
elif _['errno'] == 812:
print('Already upgraded, continuing')
i = 0
+ elif _['errno'] == 717 or _['errno'] == 718:# re-upgrade when get 'account auth session failed'
+ i = 100
+ continue
else:
time.sleep(300)#os._exit(4)
except Exception as ex:

0 comments on commit aace19a

Please sign in to comment.