#NEWLINE# def run( self , args = None ) : #NEWLINE# #INDENT# self . parse_args ( args ) #NEWLINE# if self . url : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# response = request . urlretrieve ( self . url ) #NEWLINE# self . path = response [ 0 ] #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# #UNINDENT# move_and_replace ( extract_file ( self . path ) , os . path . join ( os . path . dirname ( flask_reveal . __file__ ) , 'static/' ) )