diff options
author | Yoshihiro Kaneko <ykaneko0929@gmail.com> | 2012-04-11 13:45:09 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-04-11 13:46:42 +0900 |
commit | 1ce1db030c873d34c5ff3a90986caf497ca10033 (patch) | |
tree | 143a5fa1e0b100eed6ffbcee7031632cd5b71eaa | |
parent | 96c91e59d66aff49d14ca15e4aa8b4028d626cc8 (diff) |
fix find_flagfile path handling bug
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/utils.py b/ryu/utils.py index 3a7b509d..6dd8c520 100644 --- a/ryu/utils.py +++ b/ryu/utils.py @@ -47,7 +47,7 @@ def find_flagfile(default_path=RYU_DEFAULT_FLAG_FILE): script_dir = os.path.dirname(inspect.stack()[-1][1]) for filename in default_path: - if not os.path.abspath(filename): + if not os.path.isabs(filename): if os.path.exists(filename): # try relative to current path filename = os.path.abspath(filename) |