From b447a64abd2bc0cdf1eead80f388bb051daf4f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 4 May 2020 11:54:42 +0200 Subject: [PATCH] build: run get_themes with python3 --- Makefile | 2 +- get_themes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a8e55635..afacd950 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ themes.json: $(wildcard static/*/config.json) publik-base-theme/static/includes/_data_uris.scss: $(wildcard publik-base-theme/static/includes/img/*) cd publik-base-theme; python3 make_data_uris.py static/includes/ -css: publik-base-theme/static/includes/_data_uris.scss $(shell python get_themes.py) +css: publik-base-theme/static/includes/_data_uris.scss $(shell python3 get_themes.py) rm -rf static/*/.sass-cache/ for inode2 in $(shell ls -d templates/variants/*/) ; do \ if [ -f $$inode2/prepare-template.py ]; then \ diff --git a/get_themes.py b/get_themes.py index 0237762c..c99ea79e 100644 --- a/get_themes.py +++ b/get_themes.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import os