mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-11 15:34:33 +12:00
Fix path inconsistencies
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
f274cd489f
commit
8beea301ec
|
@ -916,6 +916,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||||
|
|
||||||
If ``loadFromFile`` is False, then it does not load datas from file.
|
If ``loadFromFile`` is False, then it does not load datas from file.
|
||||||
It assumes that the datas have been populated in a different way."""
|
It assumes that the datas have been populated in a different way."""
|
||||||
|
|
||||||
|
# Convert project path to OS norm
|
||||||
|
project = os.path.normpath(project)
|
||||||
|
|
||||||
if loadFromFile and not os.path.exists(project):
|
if loadFromFile and not os.path.exists(project):
|
||||||
LOGGER.warning("The file {} does not exist. Has it been moved or deleted?".format(project))
|
LOGGER.warning("The file {} does not exist. Has it been moved or deleted?".format(project))
|
||||||
F.statusMessage(
|
F.statusMessage(
|
||||||
|
|
Loading…
Reference in a new issue