From 59741db5eb95568a5b8cea5d7352094a09a72c4f Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 23 Aug 2016 17:15:31 +0200 Subject: [PATCH] larigira has its own reserved TMPDIR --- larigira/larigira.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/larigira/larigira.py b/larigira/larigira.py index 13bcc69..5fcc84f 100644 --- a/larigira/larigira.py +++ b/larigira/larigira.py @@ -6,6 +6,8 @@ from gevent import monkey monkey.patch_all(subprocess=True) import sys +import os +import tempfile import signal from time import sleep import logging @@ -49,6 +51,7 @@ class Larigira(object): def main(): + os.environ['TMPDIR'] = tempfile.mkdtemp(prefix='larigira') logging.basicConfig(level=logging.DEBUG) if(get_conf()['MPD_WAIT_START']): while True: