diff --git a/Makefile b/Makefile index 58bc85c..d4b170f 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,9 @@ themes.json: $(wildcard static/*/config.json) sassc $< $@ publik-base-theme/static/includes/_data_uris.scss: $(wildcard publik-base-theme/static/includes/img/*) - cd publik-base-theme; python make_data_uris.py static/includes/ + 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/ clean: diff --git a/get_themes.py b/get_themes.py index aa64164..c99ea79 100644 --- a/get_themes.py +++ b/get_themes.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import os @@ -6,4 +6,4 @@ for dirname in sorted(os.listdir('static')): config = os.path.join('static', dirname, 'config.json') if not os.path.exists(config): continue - print 'static/%s/style.css' % dirname + print('static/%s/style.css' % dirname)