diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2014-08-07 15:06:09 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2014-08-07 15:06:09 -0300 |
commit | e92847eae88a13cf9c6f407112c2a42b7c46e808 (patch) | |
tree | 5467345a865f0da4052301e5b7a657db72b3cbe7 /service/go | |
parent | 1e2fba9a96ab2360b82b01bd55217fbb0df3f38d (diff) |
Victor/Bruno: Removing APP_ROOT workaround from app and tests
Diffstat (limited to 'service/go')
-rwxr-xr-x | service/go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |