kopia lustrzana https://github.com/ctjacobs/pyqso
Flake8.
rodzic
2487424839
commit
ce969cc8d7
|
@ -1123,7 +1123,6 @@ class Logbook:
|
||||||
umd.dialog.destroy()
|
umd.dialog.destroy()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def log_count(self):
|
def log_count(self):
|
||||||
""" Return the total number of logs in the logbook.
|
""" Return the total number of logs in the logbook.
|
||||||
|
|
|
@ -103,46 +103,46 @@ class Modes:
|
||||||
|
|
||||||
# A dictionary of all the deprecated MODE values.
|
# A dictionary of all the deprecated MODE values.
|
||||||
deprecated = {"AMTORFEC": ("",),
|
deprecated = {"AMTORFEC": ("",),
|
||||||
"ASCI": ("",),
|
"ASCI": ("",),
|
||||||
"CHIP64": ("",),
|
"CHIP64": ("",),
|
||||||
"CHIP128": ("",),
|
"CHIP128": ("",),
|
||||||
"DOMINOF": ("",),
|
"DOMINOF": ("",),
|
||||||
"FMHELL": ("",),
|
"FMHELL": ("",),
|
||||||
"FSK31": ("",),
|
"FSK31": ("",),
|
||||||
"GTOR": ("",),
|
"GTOR": ("",),
|
||||||
"HELL80": ("",),
|
"HELL80": ("",),
|
||||||
"HFSK": ("",),
|
"HFSK": ("",),
|
||||||
"JT4A": ("",),
|
"JT4A": ("",),
|
||||||
"JT4B": ("",),
|
"JT4B": ("",),
|
||||||
"JT4C": ("",),
|
"JT4C": ("",),
|
||||||
"JT4D": ("",),
|
"JT4D": ("",),
|
||||||
"JT4E": ("",),
|
"JT4E": ("",),
|
||||||
"JT4F": ("",),
|
"JT4F": ("",),
|
||||||
"JT4G": ("",),
|
"JT4G": ("",),
|
||||||
"JT65A": ("",),
|
"JT65A": ("",),
|
||||||
"JT65B": ("",),
|
"JT65B": ("",),
|
||||||
"JT65C": ("",),
|
"JT65C": ("",),
|
||||||
"MFSK8": ("",),
|
"MFSK8": ("",),
|
||||||
"MFSK16": ("",),
|
"MFSK16": ("",),
|
||||||
"PAC2": ("",),
|
"PAC2": ("",),
|
||||||
"PAC3": ("",),
|
"PAC3": ("",),
|
||||||
"PAX2": ("",),
|
"PAX2": ("",),
|
||||||
"PCW": ("",),
|
"PCW": ("",),
|
||||||
"PSK10": ("",),
|
"PSK10": ("",),
|
||||||
"PSK31": ("",),
|
"PSK31": ("",),
|
||||||
"PSK63": ("",),
|
"PSK63": ("",),
|
||||||
"PSK63F": ("",),
|
"PSK63F": ("",),
|
||||||
"PSK125": ("",),
|
"PSK125": ("",),
|
||||||
"PSKAM10": ("",),
|
"PSKAM10": ("",),
|
||||||
"PSKAM31": ("",),
|
"PSKAM31": ("",),
|
||||||
"PSKAM50": ("",),
|
"PSKAM50": ("",),
|
||||||
"PSKFEC31": ("",),
|
"PSKFEC31": ("",),
|
||||||
"PSKHELL": ("",),
|
"PSKHELL": ("",),
|
||||||
"QPSK31": ("",),
|
"QPSK31": ("",),
|
||||||
"QPSK63": ("",),
|
"QPSK63": ("",),
|
||||||
"QPSK125": ("",),
|
"QPSK125": ("",),
|
||||||
"THRBX": ("",)
|
"THRBX": ("",)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include all deprecated modes.
|
# Include all deprecated modes.
|
||||||
modes.update(deprecated)
|
modes.update(deprecated)
|
||||||
|
@ -181,7 +181,6 @@ class Modes:
|
||||||
connection.close()
|
connection.close()
|
||||||
except sqlite3.Error as e:
|
except sqlite3.Error as e:
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
def parse(self, url):
|
def parse(self, url):
|
||||||
|
@ -205,4 +204,3 @@ class Modes:
|
||||||
modes[mode] = submode
|
modes[mode] = submode
|
||||||
|
|
||||||
return modes
|
return modes
|
||||||
|
|
||||||
|
|
|
@ -48,4 +48,3 @@ class UpdateModesDialog:
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
return self.sources["URL"].get_text()
|
return self.sources["URL"].get_text()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue