summaryrefslogtreecommitdiff
path: root/service/go
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-08-07 15:06:09 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-08-07 15:06:09 -0300
commite92847eae88a13cf9c6f407112c2a42b7c46e808 (patch)
tree5467345a865f0da4052301e5b7a657db72b3cbe7 /service/go
parent1e2fba9a96ab2360b82b01bd55217fbb0df3f38d (diff)
Victor/Bruno: Removing APP_ROOT workaround from app and tests
Diffstat (limited to 'service/go')
-rwxr-xr-xservice/go9
1 files changed, 5 insertions, 4 deletions
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