aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/apps/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/apps/index.py')
-rw-r--r--bsie/apps/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsie/apps/index.py b/bsie/apps/index.py
index d64e8c2..ef467bd 100644
--- a/bsie/apps/index.py
+++ b/bsie/apps/index.py
@@ -23,7 +23,7 @@ def main(argv):
"""Index files or directories into BSFS."""
parser = argparse.ArgumentParser(description=main.__doc__, prog='index')
parser.add_argument('--config', type=str,
- default=os.path.join(os.path.dirname(__file__), _loader.DEFAULT_CONFIG_FILE),
+ default=_loader.DEFAULT_CONFIG_FILE,
help='Path to the config file.')
parser.add_argument('--host', type=bsfs.URI, default=bsfs.URI('http://example.com'),
help='')