music2storage/service.py
def upload(self, file_name):
        """
        Moves the file associated with the file_name passed to the Music folder in the local storage.
        
        :param str file_name: Filename of the file to be uploaded
        """
        
        log.info(f"Upload for {file_name} has started")
        start_time = time()
        os.rename(file_name, os.path.join(self.music_folder, file_name))
        end_time = time()
        log.info(f"Upload for {file_name} has finished in {end_time - start_time} seconds")
def upload(self, file_name):
        """
        Moves the file associated with the file_name passed to the Music folder in the local storage.
        
        :param str file_name: Filename of the file to be uploaded
        """
        
        log.info(f"Upload for {file_name} has started")
        start_time = time()
        os.rename(file_name, os.path.join(self.music_folder, file_name))
        end_time = time()
        log.info(f"Upload for {file_name} has finished in {end_time - start_time} seconds")
def upload ( self , file_name ) : log . info ( f"Upload for {file_name} has started" ) start_time = time ( ) os . rename ( file_name , os . path . join ( self . music_folder , file_name ) ) end_time = time ( ) log . info ( f"Upload for {file_name} has finished in {end_time - start_time} seconds" )
Moves the file associated with the file_name passed to the Music folder in the local storage.
        
        :param str file_name: Filename of the file to be uploaded
Moves the file associated with the file_name passed to the Music folder in the local storage . : param str file_name : Filename of the file to be uploaded