def _is_playlist_in_config_dir(self):
        """ Check if a csv file is in the config dir """
        if path.dirname(self.stations_file) == self.stations_dir:
            self.foreign_file = False
            self.foreign_filename_only_no_extension = ''
        else:
            self.foreign_file = True
            self.foreign_filename_only_no_extension = self.stations_filename_only_no_extension
        self.foreign_copy_asked = False
def _is_playlist_in_config_dir ( self ) : if path . dirname ( self . stations_file ) == self . stations_dir : self . foreign_file = False self . foreign_filename_only_no_extension = '' else : self . foreign_file = True self . foreign_filename_only_no_extension = self . stations_filename_only_no_extension self . foreign_copy_asked = False
Check if a csv file is in the config dir