js8 slow mode (attempt?)

This commit is contained in:
Jakob Ketterl
2020-04-23 00:34:49 +02:00
parent 5ab2f02f63
commit 2df56ad8b9
2 changed files with 14 additions and 6 deletions

View File

@ -13,7 +13,7 @@ from queue import Queue, Full
import logging
logger = logging.getLogger(__name__)
#logger.setLevel(logging.INFO)
logger.setLevel(logging.INFO)
class QueueJob(object):
@ -132,7 +132,7 @@ class AudioWriter(object):
def getWaveFile(self):
filename = "{tmp_dir}/openwebrx-audiochopper-{id}-{timestamp}.wav".format(
tmp_dir=self.tmp_dir,
id=id(self.profile),
id=id(self),
timestamp=datetime.utcnow().strftime(self.profile.getFileTimestampFormat()),
)
wavefile = wave.open(filename, "wb")