spotdlgui/main.py
def _on_download_press(self):
        '''
        Runs when donwload button is pressed
        '''
        # Start an instance of the progress popup and show it
        self.popup = DownloadingPopup()
        self.popup.open()

        # Start download thread.
        download_thread = threading.Thread(target=self.download_song)
        download_thread.start()

        Runs when donwload button is pressed
        
Runs when donwload button is pressed
Runs when donwload button is pressed
def _on_download_press(self):
        self.popup = DownloadingPopup()
        self.popup.open()
        download_thread = threading.Thread(target=self.download_song)
        download_thread.start()
def _on_download_press ( self ) : self . popup = DownloadingPopup ( ) self . popup . open ( ) download_thread = threading . Thread ( target = self . download_song ) download_thread . start ( )
Runs when donwload button is pressed
Runs when donwload button is pressed
'''
        Runs when donwload button is pressed
        ''' # Start an instance of the progress popup and show it # Start download thread.
self