Small fix

This commit is contained in:
Philip Ridout 2017-08-27 20:22:43 +01:00
parent ab2f354f11
commit 1908efcdbb
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ def file_names_conv(file_names):
:return: The list converted to file paths
:rtype: openlp.core.common.path.Path
"""
return [str_to_path(file_name) for file_name in file_names]
if file_names:
return [str_to_path(file_name) for file_name in file_names]
class Settings(QtCore.QSettings):