From e806800f1dbd7263b17a2ccf27bce0e321f44b63 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 13 Jan 2011 19:46:12 +0900 Subject: [PATCH] use {{ }} internally instead of the old %(...)s format --- ankiqt/ui/clayout.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ankiqt/ui/clayout.py b/ankiqt/ui/clayout.py index f02a55eb3..9d9970caa 100644 --- a/ankiqt/ui/clayout.py +++ b/ankiqt/ui/clayout.py @@ -151,7 +151,6 @@ class CardLayout(QDialog): def screenToFormat(self, fmt): fmt = fmt.replace("}}\n", "}}
") - fmt = re.sub("{{(.+?)}}", "%(\\1)s", fmt) return fmt # def onEdit(self):