@@ 59,7 59,7 @@ A new wiki at ``/path/to/wiki`` consists
``media/images``
Wiki image links refer to files located here (see in-wiki help for details).
-The whole wiki s file based which makes it easy to share it across
+The whole wiki is file based which makes it easy to share it across
multiple computers, e.g. using services like `UbuntuOne`_ or `Dropbox`_.
.. _SQLite: http://www.sqlite.org/
@@ 179,7 179,7 @@ def init(opts):
def run(opts):
- if not os.path.exists(join(opts.path, "wiki.db")):
+ if not exists(join(opts.path, "wiki.db")):
_die("%s does not look like a wiki" % opts.path)
ret = subprocess.call(["python", "-m", "dizzie.manage", "runserver",
@@ 189,7 189,7 @@ def run(opts):
def shell(opts):
- if not os.path.exists(join(opts.path, "wiki.db")):
+ if not exists(join(opts.path, "wiki.db")):
_die("%s does not look like a wiki" % opts.path)
ret = subprocess.call(["python", "-m", "dizzie.manage", "shell"])