Fix sql syntax

Add database initialisation
Reorganise default theme
This commit is contained in:
Michał Gdula 2023-01-08 15:14:35 +00:00
parent 122b1760cf
commit d85ac5f103
14 changed files with 409 additions and 302 deletions

View file

@ -1,4 +1,5 @@
import time
import datetime
now = datetime.datetime.now()
import sys
import shutil
import os
@ -6,6 +7,7 @@ import os
class Sassy():
def __init__(self, theme):
print("### OnlyLegs Theme Manager ###")
print(f"{now.hour}:{now.minute}:{now.second} - Loading theme...")
try:
import sass
@ -33,7 +35,7 @@ class Sassy():
else:
print("No fonts found!")
print("Done!\n")
print(f"{now.hour}:{now.minute}:{now.second} - Done!\n")
def loadTheme (self, theme):
with open('static/css/style.css', 'w') as f: