Changeset 33:a9150c8d2767 for runmlx.py


Ignore:
Timestamp:
02/25/12 16:35:32 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the way to acquire the icon directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • runmlx.py

    r29 r33  
    22
    33import os
     4import sys
    45
    56if __name__ == "__main__":
    67    import mlx.mlx
    7     mlx.mlx.main(os.path.dirname(__file__))
     8    mlx.mlx.main(os.path.dirname(sys.argv[0]))
Note: See TracChangeset for help on using the changeset viewer.