added full integration of spotify explicit to the website with proper fixes needed

This commit is contained in:
Xevion
2019-12-21 02:28:15 -06:00
parent 03b3220e3c
commit 2e4594138a
5 changed files with 24 additions and 13 deletions

View File

@@ -73,7 +73,7 @@ def process_data(data):
# Save the figure, overwriting anything in your way
logging.info('Saving the figure to the \'export\' folder')
export_folder = os.path.join(sys.path[0], 'export')
export_folder = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'export')
if not os.path.exists(export_folder):
os.makedirs(export_folder)
plt.tight_layout()