diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-12-25 19:42:54 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-12-25 19:42:54 (GMT) |
commit | 56d4b9766964c12cfa56bfcb96207b110e9442a9 (patch) | |
tree | dad7099d1973bd32d939c701020533db0b26d880 /points_list.py | |
parent | e8a66fcf4d85d976e2f82829564188e389681f52 (diff) |
add save/export to py function
Diffstat (limited to 'points_list.py')
-rw-r--r-- | points_list.py | 4 |
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): |