Tweaks to logging
This commit is contained in:
@ -84,8 +84,8 @@ class JSONlog(LOGlog):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
def make(self, dire="logs", basename="log-"):
|
||||
return super().make(dire, basename, "json")
|
||||
def make(self, dire="logs", basename="log-", ext="json"):
|
||||
return super().make(dire, basename, ext)
|
||||
|
||||
def open(self, filename):
|
||||
super().open(filename)
|
||||
|
||||
@ -232,8 +232,7 @@ class QtGPSWindow(MainWindow):
|
||||
self.viewSatellites.show()
|
||||
|
||||
self.show()
|
||||
|
||||
|
||||
|
||||
def toggle_logging(self):
|
||||
if self.log_enabled:
|
||||
self.log_enabled = 0
|
||||
|
||||
Reference in New Issue
Block a user