FooSoft/mangle — comment on commit fc8ab5b2168ead7b0b7fd376bbe91d53e21fdc7b
File:  line 0
By orzarchi:

Hey there, new user of Mangle.
This change breaks mangle for me, as the "__file__" variable points to the file "util.py",
while sys.argv[0] points to the entry point script mangle.pyw
I suggest
directory = os.path.dirname(sys.argv[0])
for the best of both approaches.