mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-21 05:12:27 +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())
|
version = int(f.read())
|
||||||
|
|
||||||
print("Loading:", project)
|
print("Loading:", project)
|
||||||
print("Detected file format version:", version)
|
print("Detected file format version: {}. Zip: {}.".format(version, isZip))
|
||||||
|
|
||||||
if version == 0:
|
if version == 0:
|
||||||
v0.loadProject(project)
|
v0.loadProject(project)
|
||||||
|
|
|
@ -106,7 +106,7 @@ def saveProject(zip=None):
|
||||||
"""
|
"""
|
||||||
if zip is None:
|
if zip is None:
|
||||||
zip = False
|
zip = False
|
||||||
# Fixme
|
# FIXME: use value from settings
|
||||||
|
|
||||||
log("\n\nSaving to:", "zip" if zip else "folder")
|
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)
|
# Saves to cache (only if we loaded from disk and not zip)
|
||||||
global cache
|
global cache
|
||||||
cache = files
|
cache = files
|
||||||
|
|
||||||
|
# FIXME: watch directory for changes
|
||||||
|
|
||||||
# Sort files by keys
|
# Sort files by keys
|
||||||
files = OrderedDict(sorted(files.items()))
|
files = OrderedDict(sorted(files.items()))
|
||||||
|
|
Loading…
Reference in a new issue