diff --git a/scripts/poster.py b/scripts/poster.py index a6665ec..cdc6f6d 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -1,15 +1,10 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 -from __future__ import division import os 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 ImageDraw import json