mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-24 18:31:36 +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 platform
|
||||||
import zipfile
|
import zipfile
|
||||||
import shutil
|
import shutil
|
||||||
import urllib.request
|
|
||||||
|
|
||||||
if __name__ != '__main__':
|
if __name__ != '__main__':
|
||||||
from SCons.Script import *
|
from SCons.Script import *
|
||||||
|
@ -326,6 +325,7 @@ class Config:
|
||||||
]:
|
]:
|
||||||
if ( not os.path.exists( lib_archive ) ):
|
if ( not os.path.exists( lib_archive ) ):
|
||||||
print( 'downloading %s' % 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_web_request = urllib.request.urlopen( 'http://s3.amazonaws.com/GtkRadiant/%s' % lib_archive )
|
||||||
archive_File = open( lib_archive, 'wb' )
|
archive_File = open( lib_archive, 'wb' )
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue