Commit 53c308b7 authored by Ali Abdallah's avatar Ali Abdallah

Fix on disk file check

parent 4a71b250
......@@ -1302,7 +1302,10 @@ gboolean parole_media_list_add_files (ParoleMediaList *list, gchar **filenames)
for ( i = 0; filenames && filenames[i] != NULL; i++)
{
if ( g_file_test (filenames[i], G_FILE_TEST_IS_REGULAR ) )
/**
* File on disk
**/
if ( g_file_test (filenames[i], G_FILE_TEST_EXISTS ) )
{
added += parole_media_list_add_by_path (list, filenames[i], i == 0 ? TRUE : FALSE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment