# HG changeset patch # User Dirk Olmes # Date 1477701041 -7200 # Node ID bb8b1d9c52b2963b2b94d937b1ced6b3b57ad66e # Parent daf6c811d104c60442b2adc7a8e1139404b38859 rename instance variable diff -r daf6c811d104 -r bb8b1d9c52b2 RemoteViewer/Viewer.py --- a/RemoteViewer/Viewer.py Thu Nov 27 12:13:37 2014 +0100 +++ b/RemoteViewer/Viewer.py Sat Oct 29 02:30:41 2016 +0200 @@ -5,22 +5,22 @@ from .PasswordDialog import PasswordDialog class ReadThread(Thread): - def __init__(self, process, viewer): + def __init__(self, process, logViewer): super(ReadThread, self).__init__() self.daemon = True self.process = process - self.viewer = viewer + self.logViewer = logViewer def run(self): loop = True while loop: if self.process.poll() is not None: - self.viewer.finish() + self.logViewer.finish() loop = False line = self.process.stdout.readline() line = line.decode('utf-8') line = line.rstrip('\n') - self.viewer.append(line) + self.logViewer.append(line) class AbstractViewer(object): def __init__(self, connection):