diff options
author | luxagraf <sng@luxagraf.net> | 2011-05-19 10:31:33 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-05-19 10:31:33 -0500 |
commit | d393c88c21805502f5fd69a02b9a4592eaf0d735 (patch) | |
tree | 15ce026158e54b0163a9942b0dc3942b7ae756b1 /cron | |
parent | 9dd8a4d79627a94f8f54cf15609e2841deae1166 (diff) |
fixed bug in link syncing script and added new lens info to flickr import scripts and templates
Diffstat (limited to 'cron')
-rw-r--r-- | cron/sync_links.py | 2 | ||||
-rw-r--r-- | cron/sync_photo_sets.py | 1 | ||||
-rw-r--r-- | cron/sync_photos.py | 1 |
3 files changed, 3 insertions, 1 deletions
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__))) |