mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-05 21:55:39 +01:00
PEP8 double aggressive E301 ~ E306
This commit is contained in:
@@ -39,22 +39,27 @@ else:
|
||||
from Screens.Console import Console
|
||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||
|
||||
|
||||
def getDS():
|
||||
s = getDesktop(0).size()
|
||||
return (s.width(), s.height())
|
||||
|
||||
|
||||
def isFHD():
|
||||
desktopSize = getDS()
|
||||
return desktopSize[0] == 1920
|
||||
|
||||
|
||||
def isHD():
|
||||
desktopSize = getDS()
|
||||
return desktopSize[0] >= 1280 and desktopSize[0] < 1920
|
||||
|
||||
|
||||
def isUHD():
|
||||
desktopSize = getDS()
|
||||
return desktopSize[0] >= 1920 and desktopSize[0] < 3840
|
||||
|
||||
|
||||
class InstallImage(Screen, ConfigListScreen):
|
||||
if isFHD():
|
||||
skin = """<screen position="130,120" size="1650,875" title="NeoBoot - Installation">
|
||||
|
||||
Reference in New Issue
Block a user