From 059163eab5d27333757ee1c858014029c15d951e Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Mon, 25 Jul 2011 02:08:21 +0100
Subject: [PATCH] silly fixes

---
 client/djrandom_client/djfuse.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/client/djrandom_client/djfuse.py b/client/djrandom_client/djfuse.py
index 0a6604a..9636fc2 100644
--- a/client/djrandom_client/djfuse.py
+++ b/client/djrandom_client/djfuse.py
@@ -129,12 +129,13 @@ def main():
     parser.add_option('--cache_dir',
                       default='/var/cache/djrandom/fuse')
     parser.add_option('--server_url',
-                      defaults='http://djrandom.incal.net')
+                      default='http://djrandom.incal.net')
     opts, args = parser.parse_args()
     if len(args) != 1:
         parser.error('Wrong number of args')
 
-    fuse = FUSE(DJFS(), args[0], foreground=True)
+    fuse = FUSE(DJFS(opts.server_url, opts.cache_dir),
+                args[0], foreground=True)
 
 
 if __name__ == '__main__':
-- 
GitLab