Commits

Oben Sonne  committed 863ed15

Minor cleanup and typo fixes

  • Participants
  • Parent commits 9a947ab

Comments (0)

Files changed (2)

 ``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/

File app/diggie/cmdline.py

 
 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",
 
 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"])