Adds a few FIXME as roadmap

This commit is contained in:
Olivier Keshavjee 2016-03-10 14:15:03 +01:00
parent fa386896db
commit 482641c7f2
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -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()))