mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-09 23:01:55 +00:00
flatpak build has a problem with urllib.request, but also does not need it
This commit is contained in:
parent
d69257d0b7
commit
6be32bdeec
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,6 @@ import subprocess
|
|||
import platform
|
||||
import zipfile
|
||||
import shutil
|
||||
import urllib.request
|
||||
|
||||
if __name__ != '__main__':
|
||||
from SCons.Script import *
|
||||
|
@ -326,6 +325,7 @@ class Config:
|
|||
]:
|
||||
if ( not os.path.exists( lib_archive ) ):
|
||||
print( 'downloading %s' % lib_archive )
|
||||
import urllib.request
|
||||
archive_web_request = urllib.request.urlopen( 'http://s3.amazonaws.com/GtkRadiant/%s' % lib_archive )
|
||||
archive_File = open( lib_archive, 'wb' )
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue