diff options
| author | Nicolas Spalinger | 2015-10-22 14:29:13 -0500 |
|---|---|---|
| committer | Nicolas Spalinger | 2015-10-22 14:29:13 -0500 |
| commit | cca8045fd28653115953dcc7412826fd4387d913 (patch) | |
| tree | 7de63bd9af91741d6d4836d460da37205eb4ac63 /Lib/defconQt/__main__.py | |
| parent | 185ce35321d4163f64d85a20fb840134115c597c (diff) | |
| download | trufont-cca8045fd28653115953dcc7412826fd4387d913.tar.bz2 | |
Modified setup.py and __main.py__ for Windows users.
Diffstat (limited to 'Lib/defconQt/__main__.py')
| -rw-r--r-- | Lib/defconQt/__main__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/defconQt/__main__.py b/Lib/defconQt/__main__.py index e583e5a..59cb671 100644 --- a/Lib/defconQt/__main__.py +++ b/Lib/defconQt/__main__.py @@ -6,6 +6,10 @@ import sys import os from PyQt5.QtGui import QIcon +def main(): + if __name__ == "__main__": + main() + if len(sys.argv) > 1: font = TFont(os.path.abspath(sys.argv[1])) else: |
