Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/conozco.py
diff options
context:
space:
mode:
Diffstat (limited to 'conozco.py')
-rwxr-xr-xconozco.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/conozco.py b/conozco.py
index 378fbd4..c948ae9 100755
--- a/conozco.py
+++ b/conozco.py
@@ -475,12 +475,11 @@ class Conozco():
t = font.render(text, 1, color)
self.pantalla.blit(t, pos)
- def update_points(self, data):
+ def update_points(self, l):
self.pantalla.blit(self.fondo, (shift_x, shift_y))
- for p in data:
- info = data[p]
- name = info[0]
- pos = info[1]
+ for p in l:
+ name = p[0]
+ pos = p[1]
self.pantalla.blit(self.simboloCiudad, pos)
self.showName(name, pos, self.fuente9)