forked from openlp/openlp
fixed data path
This commit is contained in:
parent
863aa58656
commit
e325affe10
@ -133,7 +133,7 @@ class AppLocation(object):
|
|||||||
"""
|
"""
|
||||||
# Check if we have a different data location.
|
# Check if we have a different data location.
|
||||||
if Settings().contains(u'advanced/data path'):
|
if Settings().contains(u'advanced/data path'):
|
||||||
path = Settings().value(u'advanced/data path')
|
path = Settings().value(u'advanced/data path', u'')
|
||||||
else:
|
else:
|
||||||
path = AppLocation.get_directory(AppLocation.DataDir)
|
path = AppLocation.get_directory(AppLocation.DataDir)
|
||||||
check_directory_exists(path)
|
check_directory_exists(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user