Fix if bug
Merge pull request #20 from zhangxiaomei/PHEDEX-datasvc

Fix "if" bug