Appdata für Header, Flaggensymbole laden
This commit is contained in:
@@ -23,7 +23,7 @@ import nmea2000.lookup
|
||||
class Fluid(Page):
|
||||
|
||||
def __init__(self, pageno, cfg, appdata, boatdata, fluidtype):
|
||||
super().__init__(pageno, cfg, boatdata)
|
||||
super().__init__(pageno, cfg, appdata, boatdata)
|
||||
self.fluidtype = int(fluidtype)
|
||||
if self.fluidtype == 0:
|
||||
self.symbol = cairo.ImageSurface.create_from_png(os.path.join(cfg['imgpath'], "fuelpump.png"))
|
||||
|
||||
Reference in New Issue
Block a user