#NEWLINE# def __init__( self , session , stream_info_manager , sd_identifier , delete_data = False , download_directory = None ) : #NEWLINE# #INDENT# self . session = session #NEWLINE# self . stream_info_manager = stream_info_manager #NEWLINE# self . sd_identifier = sd_identifier #NEWLINE# self . lbry_files = [ ] #NEWLINE# self . sql_db = None #NEWLINE# if download_directory : #NEWLINE# #INDENT# self . download_directory = download_directory #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . download_directory = os . getcwd ( ) #NEWLINE# #UNINDENT# log . debug ( 'Download directory for LBRYFileManager: %s' , str ( self . download_directory ) )