Changeset 33:a9150c8d2767
- Timestamp:
-
02/25/12 16:35:32
(13 years ago)
- Author:
- István Váradi <ivaradi@…>
-
Branch:
-
default
-
Phase:
-
public
- Message:
-
Fixed the way to acquire the icon directory
-
File:
-
Legend:
- Unmodified
- Added
- Removed
-
r29
|
r33
|
|
2 | 2 | |
3 | 3 | import os |
| 4 | import sys |
4 | 5 | |
5 | 6 | if __name__ == "__main__": |
6 | 7 | import mlx.mlx |
7 | | mlx.mlx.main(os.path.dirname(__file__)) |
| 8 | mlx.mlx.main(os.path.dirname(sys.argv[0])) |