diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-07-04 01:15:52 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2010-07-04 01:15:52 +0000 |
commit | 30f1c900a1ca0f9f868f1aa92f7e123560f242a7 (patch) | |
tree | 435d9d5e7116239db5cb259b36974be8bfeab718 /cron/sync_photos.py | |
parent | 56d590eab871d5c229a718f14709f5704b131d28 (diff) |
renamed individual utils files retriever
Diffstat (limited to 'cron/sync_photos.py')
-rw-r--r-- | cron/sync_photos.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cron/sync_photos.py b/cron/sync_photos.py index 03aa3ec..06f7156 100644 --- a/cron/sync_photos.py +++ b/cron/sync_photos.py @@ -3,9 +3,10 @@ import sys, os sys.path.append('/home/luxagraf/webapps/django1_2') sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf') sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/apps') -sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib') sys.path.append('/home/luxagraf/webapps/django1_2/lib/python2.6/') +sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib') + os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' -from photos import utils as p -p.sync_flickr_photos()
\ No newline at end of file +from photos import retriever +retriever.sync_flickr_photos()
\ No newline at end of file |