| Rizwan Haider | 51fdb3f | 2016-11-09 18:29:32 -0500 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |||||
| 3 | # This imports and runs ../../xos-observer.py | ||||
| 4 | |||||
| 5 | import importlib | ||||
| 6 | import os | ||||
| 7 | import sys | ||||
| 8 | |||||
| 9 | #observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../synchronizers/base") | ||||
| 10 | sys.path.append("/opt/xos/synchronizers/base") | ||||
| 11 | print sys.path | ||||
| 12 | mod = importlib.import_module("xos-synchronizer") | ||||
| 13 | mod.main() | ||||