mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
parent
be894c821d
commit
4f85ac1c4b
@ -177,6 +177,12 @@ def printFlag(country):
|
||||
hyperion.imageSolidFill(0, 0, int(iW*0.33), iH, 0, 255, 0)
|
||||
hyperion.imageSolidFill(int(iW*0.33), 0, int(iW*0.33), iH, 255, 0, 0)
|
||||
hyperion.imageSolidFill(int(iW*0.66), 0, iW, iH, 255, 255, 0)
|
||||
|
||||
# ru flag (Russia)
|
||||
if country == "ru":
|
||||
hyperion.imageSolidFill(0, 0, iW, int(iH*0.33), 255, 255, 255)
|
||||
hyperion.imageSolidFill(0, int(iH*0.33), iW, int(iH*0.33), 0, 57, 166)
|
||||
hyperion.imageSolidFill(0, int(iH*0.66), iW, iH, 213, 43, 30)
|
||||
|
||||
#prepare wanted flags
|
||||
for cf in countries:
|
||||
|
@ -10,7 +10,7 @@
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["de","at","fr","be","it","es","bg","ee","dk","fi","hu","ie","lv","lt","lu","mt","nl","pl","pt","ro","sl","se","ch"]
|
||||
"enum": ["at","be","bg","ch","cmr","cz","de","dk","ee","es","fi","fr","gr","hu","ie","it","lt","lu","lv","mt","nl","pl","pt","ro","ru","se","sl"]
|
||||
},
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user