Mercurial > skaapsteker
view scripts/skaapsteker @ 634:20d6aef11249 default tip
Fix iCCC profiles in PNGs to avoid verbose warnings from libpng.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Fri, 27 Jan 2023 23:32:07 +0100 |
parents | b7c432ce1b80 |
children |
line wrap: on
line source
#!/usr/bin/env python import os.path import sys if '__file__' in globals(): # protect against missing __file__ in Windows executable scripts # (in these cases, assume skaapsteker is already on the path) sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) import skaapsteker.__main__ if __name__ == "__main__": skaapsteker.__main__.main()