fix poster script

This commit is contained in:
j 2023-07-28 19:22:04 +02:00
parent decb824372
commit a4dda61914

View file

@ -1,15 +1,10 @@
#!/usr/bin/python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4 # vi:si:et:sw=4:sts=4:ts=4
from __future__ import division
import os import os
root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
# using virtualenv's activate_this.py to reorder sys.path
activate_this = os.path.join(root_dir, 'bin', 'activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
import Image import Image
import ImageDraw import ImageDraw
import json import json