From 3464b5fd80a5ce561f7cb0c02d01c682c8bb194a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 4 Mar 2019 17:02:52 +1000 Subject: [PATCH] fix wrong var name in previous warning fix --- anki/decks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/decks.py b/anki/decks.py index d3d193081..ebb8b60e1 100644 --- a/anki/decks.py +++ b/anki/decks.py @@ -358,7 +358,7 @@ class DeckManager: def confId(self, name, cloneFrom=None): "Create a new configuration and return id." if cloneFrom is None: - type = defaultConf + cloneFrom = defaultConf c = copy.deepcopy(cloneFrom) while 1: id = intTime(1000)