This commit is contained in:
Matteo ℱan 2020-10-21 23:39:46 +02:00
parent 56d4652de9
commit 319c6b3ef0
No known key found for this signature in database
GPG key ID: 3C30A05BC133D9B6
6 changed files with 32 additions and 20 deletions

View file

@ -7,6 +7,7 @@ from collections import OrderedDict
import logging
from io import StringIO
import queue as Queue
from tempfile import gettempdir
#----------------------------------------------------------------------------------------------------------------------------------------------------------
@ -192,8 +193,8 @@ class ShellMessage(object):
self.put_text = put_text
self.where = where
self.plaintext = []
self.path_nl = os.path.dirname(os.path.abspath( __file__ )) + '/pykms_newlines.txt'
self.path_clean_nl = os.path.dirname(os.path.abspath( __file__ )) + '/pykms_clean_newlines.txt'
self.path_nl = os.path.join(gettempdir(), 'pykms_newlines.txt')
self.path_clean_nl = os.path.join(gettempdir(), 'pykms_clean_newlines.txt')
self.queue_get = Queue.Queue()
def formatter(self, msgtofrmt):