Sapan Bhatia | 4d6cd13 | 2016-01-15 10:43:19 -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 |
Sapan Bhatia | 498f671 | 2016-01-18 10:50:21 -0500 | [diff] [blame] | 8 | observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/base") |
Sapan Bhatia | 4d6cd13 | 2016-01-15 10:43:19 -0500 | [diff] [blame] | 9 | sys.path.append(observer_path) |
Sapan Bhatia | 498f671 | 2016-01-18 10:50:21 -0500 | [diff] [blame] | 10 | mod = importlib.import_module("xos-synchronizer") |
Sapan Bhatia | 4d6cd13 | 2016-01-15 10:43:19 -0500 | [diff] [blame] | 11 | mod.main() |