On Python 2, use urllib2 instead of urllib, which allows us to specify timeout
parameter.pull/3/head
							parent
							
								
									328428ab22
								
							
						
					
					
						commit
						09bdf1fab7
					
				| 
						 | 
				
			
			@ -25,7 +25,7 @@ import config
 | 
			
		|||
try:
 | 
			
		||||
    import urllib.request as urlreq
 | 
			
		||||
except:
 | 
			
		||||
    import urllib as urlreq
 | 
			
		||||
    import urllib2 as urlreq
 | 
			
		||||
 | 
			
		||||
MODULE_NAME = 'browser'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue