Changeset 182:dd806c3cc18d for src/mlx/mlx.py
- Timestamp:
- 05/15/12 15:01:07 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/mlx.py
r160 r182 44 44 def main(): 45 45 """The main operation of the program.""" 46 from singleton import SingleInstance, raiseCallbackWrapper 47 48 instance = SingleInstance("mlx", raiseCallbackWrapper) 49 if not instance: return 50 46 51 programDirectory = os.path.dirname(sys.argv[0]) 47 52 … … 79 84 80 85 if __name__ == "__main__": 81 main() 86 if instance: 87 main()
Note:
See TracChangeset
for help on using the changeset viewer.