From fa9d39c5fb46036f41f5fdc792cfecff96c53270 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 21 May 2009 19:33:12 +0000 Subject: [PATCH] Fix typo --- deluge/ui/console/commands/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/commands/config.py b/deluge/ui/console/commands/config.py index 5e158d6b9..69151c8f4 100644 --- a/deluge/ui/console/commands/config.py +++ b/deluge/ui/console/commands/config.py @@ -76,7 +76,7 @@ def simple_eval(source): taken from http://effbot.org/zone/simple-iterator-parser.htm""" src = cStringIO.StringIO(source).readline src = tokenize.generate_tokens(src) - src = (token for token in src if token[0] is not tokenize.NL37) + src = (token for token in src if token[0] is not tokenize.NL) res = atom(src.next, src.next()) if src.next()[0] is not tokenize.ENDMARKER: raise SyntaxError("bogus data after expression")