about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--uploader/sui.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/uploader/sui.py b/uploader/sui.py
deleted file mode 100644
index 8eb863d..0000000
--- a/uploader/sui.py
+++ /dev/null
@@ -1,8 +0,0 @@
-"""Utilities for streamlined UI. This is a temporary module."""
-from flask import request
-
-def sui_template(template_path: str) -> str:
-    """Return the streamlined UI template for given template path."""
-    _sui="sui-" if request.args.get("streamlined_ui") else ""
-    _parts = template_path.split("/")
-    return "/".join(_parts[:-1] + [f"{_sui}{_parts[-1]}"])