aboutsummaryrefslogtreecommitdiffstats
path: root/src/mount.wikipediafs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mount.wikipediafs')
-rwxr-xr-xsrc/mount.wikipediafs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mount.wikipediafs b/src/mount.wikipediafs
index d31b31d..b6c2d77 100755
--- a/src/mount.wikipediafs
+++ b/src/mount.wikipediafs
@@ -54,11 +54,7 @@ if "HOME" not in os.environ:
os.environ["HOME"] = "/home/%s/" % os.environ["USER"]
from wikipediafs.fs import WikipediaFS
-
-try:
- from wikipediafs.version import VERSION
-except:
- VERSION = 'development version'
+from wikipediafs import __version__ as VERSION
try:
server = WikipediaFS(version="%prog " + VERSION,