| Rizwan Haider | 30b3379 | 2016-08-18 02:11:18 -0400 | [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() | ||||