diff options
| author | bryan.culbertson <bryan.culbertson@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-11-18 01:50:16 +0000 |
|---|---|---|
| committer | bryan.culbertson <bryan.culbertson@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-11-18 01:50:16 +0000 |
| commit | db512d8c7e2ed1264021f4ab5af0506dc3bc5f8c (patch) | |
| tree | 84d1037f528268c6b375e28024d5d645b473f6e1 /freebase/fcl/commands.py | |
| parent | f4fb331fd967bc96fc4d62ba367e7e2f38049a64 (diff) | |
1. Fix typeid misspelling
2. Add current directory support to open command
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@236 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'freebase/fcl/commands.py')
| -rwxr-xr-x | freebase/fcl/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/freebase/fcl/commands.py b/freebase/fcl/commands.py index 1813fc0..0f1389b 100755 --- a/freebase/fcl/commands.py +++ b/freebase/fcl/commands.py @@ -764,7 +764,8 @@ def cmd_open(fb, id): %prog open /some/id """ - os.system("open 'http://www.freebase.com/view%s'" % id) + path = fb.absid(id) + os.system("open 'http://%s/view%s'" % (fb.service_host, path)) def cmd_log(fb, id): |
