From af372c257b4cdd5675c4c87a8168df94aee67b71 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 1 Apr 2023 08:53:16 +0200 Subject: Params: select satin (#2185) * check satin subpath length in params * style corrections --- lib/api/page_specs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/api/page_specs.py') diff --git a/lib/api/page_specs.py b/lib/api/page_specs.py index ff9f7cf6..f7cec8c6 100644 --- a/lib/api/page_specs.py +++ b/lib/api/page_specs.py @@ -7,6 +7,7 @@ from flask import Blueprint, g, jsonify page_specs = Blueprint('page_specs', __name__) + @page_specs.route('') def get_page_specs(): @@ -18,5 +19,5 @@ def get_page_specs(): "pagecolor": metadata.document[1].get('pagecolor'), "deskcolor": metadata.document[1].get('inkscape:deskcolor') } - - return jsonify(page_specs) \ No newline at end of file + + return jsonify(page_specs) -- cgit v1.2.3