Check for updates a bit slower

This commit is contained in:
Ciaran Gultnieks 2012-02-01 17:37:42 +00:00
parent e15baaffcb
commit 22701c67ed
2 changed files with 2 additions and 1 deletions

View file

@ -2,3 +2,4 @@
GreenDroid/ GreenDroid/
ActionBarSherlock/ ActionBarSherlock/
FacebookSDK/ FacebookSDK/
OI/

View file

@ -35,7 +35,7 @@ execfile('config.py')
# Returns (None, "a message") if this didn't work, or (version, vercode) for # Returns (None, "a message") if this didn't work, or (version, vercode) for
# the details of the current version. # the details of the current version.
def check_market(app): def check_market(app):
time.sleep(5) time.sleep(10)
url = 'http://market.android.com/details?id=' + app['id'] url = 'http://market.android.com/details?id=' + app['id']
req = urllib.urlopen(url) req = urllib.urlopen(url)
if req.getcode() == 404: if req.getcode() == 404: