From e92847eae88a13cf9c6f407112c2a42b7c46e808 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 7 Aug 2014 15:06:09 -0300 Subject: Victor/Bruno: Removing APP_ROOT workaround from app and tests --- service/go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'service/go') diff --git a/service/go b/service/go index 1342660b..d0d83096 100755 --- a/service/go +++ b/service/go @@ -1,5 +1,6 @@ -#!/bin/bash +#!/usr/bin/env python +from app.pixelated_user_agent import setup +import os +os.environ['PIXELATED_UA_CFG']='../config/pixelated_ua.cfg' +setup() -export PIXELATED_UA_CFG=../config/pixelated_ua.cfg -export APP_ROOT=. -python app/pixelated_user_agent.py -- cgit v1.2.3