Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/points_list.py
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-12-25 19:42:54 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-12-25 19:42:54 (GMT)
commit56d4b9766964c12cfa56bfcb96207b110e9442a9 (patch)
treedad7099d1973bd32d939c701020533db0b26d880 /points_list.py
parente8a66fcf4d85d976e2f82829564188e389681f52 (diff)
add save/export to py function
Diffstat (limited to 'points_list.py')
-rw-r--r--points_list.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/points_list.py b/points_list.py
index 53e05da..b14574a 100644
--- a/points_list.py
+++ b/points_list.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import gtk
import gobject
@@ -120,7 +122,7 @@ class Data(gtk.TreeView):
dx = int(row[2])
dy = int(row[3])
if status:
- l.append((name, pos, dx, dy))
+ l.append((name, pos[0], pos[1], dx, dy))
return l
def _validate_pos(self, pos):