Merge branch 'pretzel-fixes' into 'dev'

Fix more things linting broke

See merge request crafty-controller/crafty-commander!158
This commit is contained in:
Andrew 2022-01-29 05:24:54 +00:00
commit 8232a630ee
2 changed files with 2 additions and 5 deletions

View File

@ -263,7 +263,8 @@ class helpers_management:
@staticmethod
def get_schedules_enabled():
return Schedules.select().where(Schedules.enabled is True).execute()
#pylint: disable=singleton-comparison
return Schedules.select().where(Schedules.enabled == True).execute()
#************************************************************************************************
# Backups Methods

View File

@ -46,10 +46,6 @@ class ServerOutBuf:
ServerOutBuf.lines[self.server_id] = []
self.lsi = 0
def clear_term(self):
self.line_buffer = ''
ServerOutBuf.lines[self.server_id] = []
def process_byte(self, char):
if char == os.linesep[self.lsi]:
self.lsi += 1