From a4dda619149adae1bfff010f9656fdba939a01d7 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 28 Jul 2023 19:22:04 +0200 Subject: [PATCH] fix poster script --- scripts/poster.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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