Add log() method to onionshare.common, which logs to stdout if in debug mode

This commit is contained in:
Micah Lee 2017-05-16 11:12:55 -07:00
parent 6b35a44d41
commit 410a71b702
6 changed files with 30 additions and 14 deletions

View file

@ -44,10 +44,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
starting_server_step3 = QtCore.pyqtSignal()
starting_server_error = QtCore.pyqtSignal(str)
def __init__(self, onion, debug, qtapp, app, filenames):
def __init__(self, onion, qtapp, app, filenames):
super(OnionShareGui, self).__init__()
self.onion = onion
self.debug = debug
self.qtapp = qtapp
self.app = app