spotdlgui/core/spotdlgui/scripts/utils.py
def ask_for_default_path():
    '''
    Asks to the user for a directory where to automatically save songs if always ask location is off.  
    '''
    output = ''

    # Using tk since it uses system's ui.
    root = tk.Tk()
    root.withdraw()
    
    while output == '':
        output = filedialog.askdirectory()

    return output

    Asks to the user for a directory where to automatically save songs if always ask location is off.  
    
Asks to the user for a directory where to automatically save songs if always ask location is off.
Asks to the user for a directory where to automatically save songs if always ask location is off .
def ask_for_default_path():
    output = ''
    root = tk.Tk()
    root.withdraw()
    while output == '':
        output = filedialog.askdirectory()
    return output
def ask_for_default_path ( ) : output = '' root = tk . Tk ( ) root . withdraw ( ) while output == '' : output = filedialog . askdirectory ( ) return output
Asks to the user for a directory where to automatically save songs if always ask location is off.
Asks to the user for a directory where to automatically save songs if always ask location is off .
'''
    Asks to the user for a directory where to automatically save songs if always ask location is off.  
    ''' # Using tk since it uses system's ui.