diff options
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/pixelated_ua.cfg | 5 | ||||
-rw-r--r-- | service/pixelated/user_agent.py | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/service/pixelated/config/pixelated_ua.cfg b/service/pixelated/config/pixelated_ua.cfg deleted file mode 100644 index b46dc95e..00000000 --- a/service/pixelated/config/pixelated_ua.cfg +++ /dev/null @@ -1,5 +0,0 @@ -HOST="0.0.0.0" -PORT=3333 -LEAP_USERNAME="testuser_a003" -LEAP_PASSWORD="testpassword" -LEAP_SERVER_NAME="example.wazokazi.is" diff --git a/service/pixelated/user_agent.py b/service/pixelated/user_agent.py index 43c8d1bc..2dfd0fe0 100644 --- a/service/pixelated/user_agent.py +++ b/service/pixelated/user_agent.py @@ -14,7 +14,7 @@ from pixelated.adapter.pixelated_mail import PixelatedMail from pixelated.tags import Tags app = Flask(__name__, static_url_path='', static_folder='../../web-ui/app') -app.config.from_pyfile('config/pixelated_ua.cfg') +app.config.from_pyfile(os.path.join(os.environ['HOME'], '.pixelated')) mail_service = MailService(app.config['LEAP_USERNAME'], app.config['LEAP_PASSWORD'], app.config['LEAP_SERVER_NAME']) |