diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2012-06-04 04:03:36 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2012-06-04 04:03:36 (GMT) |
commit | 654db1a43637652e7fae8b588d5f46472c6ad1c5 (patch) | |
tree | 500bdc2fc7717ab143f4b47a91d5498d91d47514 /utils.py | |
parent | 05b48fc1d0e46d47d58e015127783702db34764f (diff) |
uses fing space for list
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,8 +29,8 @@ from sugar.activity import activity from sugar.bundle.activitybundle import ActivityBundle # Paths -LIST_DOWNLOAD = "https://sites.google.com/site/agustinzubiaga/archivos/store.lst" -LIST_PATH = os.path.join(activity.get_activity_root(), 'data', 'store2.lst') +LIST_DOWNLOAD = "http://www.fing.edu.uy/~aaguiar/files/store.lst" +LIST_PATH = os.path.join(activity.get_activity_root(), 'data', 'store.lst') TMP_DIR = os.path.join(activity.get_activity_root(), "tmp") # Logging @@ -43,7 +43,7 @@ def get_logger(): return _logger -def update_list2(): +def update_list(): """Download the latest list version""" remote_file = urllib.urlopen(LIST_DOWNLOAD) file = open(LIST_PATH, 'w') |