modernize

This commit is contained in:
Pavol Rusnak 2024-10-07 11:15:03 +02:00
parent 5e15c43ab7
commit 2a13ed0921
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
103 changed files with 822 additions and 906 deletions

View file

@ -12,9 +12,9 @@ class BasicServicePlugin(SidebandServicePlugin):
def service_jobs(self):
while self.should_run:
time.sleep(5)
RNS.log("Service ping from "+str(self))
RNS.log(f"Service ping from {self)}")
RNS.log("Jobs stopped running for "+str(self))
RNS.log(f"Jobs stopped running for {self)}")
def start(self):
# Do any initialisation work here