larigira has its own reserved TMPDIR

This commit is contained in:
boyska 2016-08-23 17:15:31 +02:00
parent 4b34670557
commit 59741db5eb
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -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: