Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-05-18 11:51:00 (GMT)
committer Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-05-18 11:51:00 (GMT)
commit7ff5be4f9c379134e3108b11924e2f6cec07292f (patch)
treea12f584665409881eaa35135d20abe833b5067bb
parent73ca0eb394e1f1dc761b67a9409845bef53249fc (diff)
Obtiene el texto de la línea, no el total.
-rw-r--r--WorkPanel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/WorkPanel.py b/WorkPanel.py
index f982c98..e2fd795 100644
--- a/WorkPanel.py
+++ b/WorkPanel.py
@@ -348,7 +348,7 @@ class AutoCompletado(GObject.Object, GtkSource.CompletionProvider):
else:
return
- if len(texto) >= 2:
+ if len(linea) >= 2:
dato1 = linea[len(linea)-2:len(linea)]
else:
dato1 = "Ningun modulo"