From a86461ac6b5592d8e22890ce103d3d7549ca8317 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 6 Jan 2024 12:06:12 -0500 Subject: [PATCH] Don't need that --- py/hexagram/svg.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/py/hexagram/svg.py b/py/hexagram/svg.py index 71609ae..52072d2 100644 --- a/py/hexagram/svg.py +++ b/py/hexagram/svg.py @@ -23,8 +23,6 @@ def render_to_surface(path: str, surface: cairo.Surface, width: float, height: f svg.render_layer(cr, None, rect) - surface - def render_to_image(path: str, width: float, height: float, style: Optional[str]=None) -> cairo.Surface: surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, int(width), int(height))