mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-11 00:12:24 +12:00
Adds a few FIXME as roadmap
This commit is contained in:
parent
fa386896db
commit
482641c7f2
|
@ -50,7 +50,7 @@ def loadProject(project):
|
|||
version = int(f.read())
|
||||
|
||||
print("Loading:", project)
|
||||
print("Detected file format version:", version)
|
||||
print("Detected file format version: {}. Zip: {}.".format(version, isZip))
|
||||
|
||||
if version == 0:
|
||||
v0.loadProject(project)
|
||||
|
|
|
@ -106,7 +106,7 @@ def saveProject(zip=None):
|
|||
"""
|
||||
if zip is None:
|
||||
zip = False
|
||||
# Fixme
|
||||
# FIXME: use value from settings
|
||||
|
||||
log("\n\nSaving to:", "zip" if zip else "folder")
|
||||
|
||||
|
@ -626,6 +626,8 @@ def loadProject(project, zip=None):
|
|||
# Saves to cache (only if we loaded from disk and not zip)
|
||||
global cache
|
||||
cache = files
|
||||
|
||||
# FIXME: watch directory for changes
|
||||
|
||||
# Sort files by keys
|
||||
files = OrderedDict(sorted(files.items()))
|
||||
|
|
Loading…
Reference in a new issue