Skip to content

Commit 8243160

Browse files
committed
Merge pull request kivy#575 from brussee/fix-573
alternative version string to download from sourceforge;
2 parents b2c18e4 + 78522dc commit 8243160

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pythonforandroid/util.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121
unistr = unicode
2222

2323

24-
class ChromeDownloader(FancyURLopener):
25-
version = (
26-
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
27-
'(KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36')
24+
class WgetDownloader(FancyURLopener):
25+
version = ('Wget/1.17.1')
2826

29-
urlretrieve = ChromeDownloader().retrieve
27+
urlretrieve = WgetDownloader().retrieve
3028

3129

3230
@contextlib.contextmanager

0 commit comments

Comments
 (0)