863ed150834b — Oben Sonne 14 years ago
Minor cleanup and typo fixes
2 files changed, 3 insertions(+), 3 deletions(-)

M README
M app/diggie/cmdline.py
M README +1 -1
@@ 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/

          
M app/diggie/cmdline.py +2 -2
@@ 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"])