From b6869d76b19de765d87db7ac3d64d70c6b5e4abd Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 29 May 2017 00:27:31 +0300 Subject: [PATCH] actions: TextSaveModel: Add proper line spacing between methods. --- scratchabit/actions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scratchabit/actions.py b/scratchabit/actions.py index a54188c..44420d6 100644 --- a/scratchabit/actions.py +++ b/scratchabit/actions.py @@ -5,11 +5,13 @@ from . import engine class TextSaveModel: + def __init__(self, f, ctrl=None, comments=True): self.f = f self.ctrl = ctrl self.cnt = 0 self.comments = comments + def add_line(self, addr, line): txt = line.render() if not self.comments and ";" in txt: -- 2.11.4.GIT