From 3a001e8ff1528109c2a1ac88dd5283b8294b2883 Mon Sep 17 00:00:00 2001
From: Andrew Novac <16753077+novatorem@users.noreply.github.com>
Date: Mon, 12 Dec 2022 10:52:17 -0500
Subject: [PATCH] Split away from table
---
README.md | 25 +++++++++----------------
api/spotify.py | 4 ++--
api/templates/spotify-dark.html.j2 | 3 ---
preview.gif | Bin 3176381 -> 0 bytes
4 files changed, 11 insertions(+), 21 deletions(-)
delete mode 100644 preview.gif
diff --git a/README.md b/README.md
index 06c9304..9923062 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,10 @@
-
-
- |
+
+ [](https://open.spotify.com/user/omnitenebris)
+
- [](https://open.spotify.com/user/omnitenebris)
-
- |
-
-
- This repository is [unlicense](https://choosealicense.com/licenses/unlicense/)[d], feel free to fork!
-[](https://www.linkedin.com/in/andrew-novac)
-[](https://mail.novac.dev/)
-[](https://github.com/novatorem)
-
-
- |
-
\ No newline at end of file
+
+ This repository is [unlicense](https://choosealicense.com/licenses/unlicense/)[d], feel free to fork!
+ [](https://www.linkedin.com/in/andrew-novac)
+ [](https://mail.novac.dev/)
+ [](https://github.com/novatorem)
+
\ No newline at end of file
diff --git a/api/spotify.py b/api/spotify.py
index 327ee5c..47c283c 100644
--- a/api/spotify.py
+++ b/api/spotify.py
@@ -5,7 +5,7 @@ import requests
from base64 import b64encode
from dotenv import load_dotenv, find_dotenv
-from flask import Flask, Response, jsonify, render_template, templating, request
+from flask import Flask, Response, render_template, request
load_dotenv(find_dotenv())
@@ -96,7 +96,7 @@ def getTemplate():
templates = json.loads(file.read())
return templates["templates"][templates["current-theme"]]
except Exception as e:
- print(f"Failed to load templates.")
+ print(f"Failed to load templates.\r\n```{e}```")
return FALLBACK_THEME
diff --git a/api/templates/spotify-dark.html.j2 b/api/templates/spotify-dark.html.j2
index 824a67c..7b20226 100644
--- a/api/templates/spotify-dark.html.j2
+++ b/api/templates/spotify-dark.html.j2
@@ -3,7 +3,6 @@