From d393c88c21805502f5fd69a02b9a4592eaf0d735 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 19 May 2011 10:31:33 -0500 Subject: fixed bug in link syncing script and added new lens info to flickr import scripts and templates --- cron/sync_links.py | 2 +- cron/sync_photo_sets.py | 1 + cron/sync_photos.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'cron') diff --git a/cron/sync_links.py b/cron/sync_links.py index 51422ce..4bec6d2 100644 --- a/cron/sync_links.py +++ b/cron/sync_links.py @@ -7,7 +7,7 @@ sys.path.append(PROJECT_ROOT) sys.path.append(PROJECT_ROOT+'/apps') sys.path.append(PROJECT_ROOT+'/lib') sys.path.append(PROJECT_ROOT+'/lib/utils') -sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') +sys.path.append('/home/luxagraf/webapps/django/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from links import retriever retriever.sync_pinboard_links() \ No newline at end of file diff --git a/cron/sync_photo_sets.py b/cron/sync_photo_sets.py index 8ce8bb5..8c18a9a 100644 --- a/cron/sync_photo_sets.py +++ b/cron/sync_photo_sets.py @@ -1,3 +1,4 @@ +import sys, os from os.path import dirname, abspath PROJECT_ROOT = abspath(dirname(dirname(__file__))) diff --git a/cron/sync_photos.py b/cron/sync_photos.py index 916057f..3dc7552 100644 --- a/cron/sync_photos.py +++ b/cron/sync_photos.py @@ -1,3 +1,4 @@ +import sys, os from os.path import dirname, abspath PROJECT_ROOT = abspath(dirname(dirname(__file__))) -- cgit v1.2.3-70-g09d2