Show More
@@ -23,10 +23,10 b' def mainfrozen():' | |||
|
23 | 23 | (portable, not much used). |
|
24 | 24 | """ |
|
25 | 25 | return ( |
|
26 | pycompat.safehasattr(sys, "frozen") | |
|
27 |
or pycompat.safehasattr(sys, "importers") # |
|
|
28 |
or imp.is_frozen("__main__") # |
|
|
29 | ) # tools/freeze | |
|
26 | pycompat.safehasattr(sys, "frozen") # new py2exe | |
|
27 | or pycompat.safehasattr(sys, "importers") # old py2exe | |
|
28 | or imp.is_frozen("__main__") # tools/freeze | |
|
29 | ) | |
|
30 | 30 | |
|
31 | 31 | |
|
32 | 32 | # the location of data files matching the source code |
General Comments 0
You need to be logged in to leave comments.
Login now