summaryrefslogtreecommitdiff
path: root/app/cron/sync_photos.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-05-01 01:18:37 +0000
committerluxagraf <sng@luxagraf.net>2014-05-01 01:18:37 +0000
commit63662145af4487bc026e6cd906766a95817d46fb (patch)
tree8807cfb2559ea9d22043bc833492101fcb2aa9cb /app/cron/sync_photos.py
parent79b3268e10706e1ea14d7ba1275a9744ce51cd3a (diff)
fixed Flickr issues and photo template settings
Diffstat (limited to 'app/cron/sync_photos.py')
-rw-r--r--app/cron/sync_photos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cron/sync_photos.py b/app/cron/sync_photos.py
index ff601e6..634a2fc 100644
--- a/app/cron/sync_photos.py
+++ b/app/cron/sync_photos.py
@@ -1,12 +1,12 @@
import sys, os
from os.path import dirname, abspath
PROJECT_ROOT = abspath(dirname(dirname(dirname(__file__))))+'/'
+#PROJECT_ROOT = abspath(dirname(dirname(__file__)))
sys.path.append(PROJECT_ROOT)
sys.path.append(PROJECT_ROOT+'/app')
-sys.path.append(PROJECT_ROOT+'/app/lib/utils')
+sys.path.append(PROJECT_ROOT+'/app/lib')
sys.path.append(PROJECT_ROOT+'/config')
sys.path.append('/home/luxagraf/apps/venv/bin/python2.7/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings.settings'
-
from photos import retriever
retriever.sync_flickr_photos()