mirror of
https://github.com/Findus23/se-simulator.git
synced 2024-09-10 05:23:47 +02:00
de90a78874
thanks to jaytaylor (#2)
11 lines
371 B
Python
Executable file
11 lines
371 B
Python
Executable file
#!/usr/bin/env python
|
|
import utils
|
|
from models import *
|
|
from extra_data import site_colors
|
|
|
|
for site in Site.select():
|
|
if site.url in site_colors:
|
|
site.primary_color = "#" + site_colors[site.url]["primary"]
|
|
site.foreground_color = "#" + site_colors[site.url]["fg"]
|
|
site.background_color = "#" + site_colors[site.url]["bg"]
|
|
site.save()
|