fix more typos

This commit is contained in:
Ace 2020-12-06 17:14:45 +01:00 committed by GitHub
parent e24728df27
commit 8a9e1cb30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ class Inkycal:
self._assemble()
def run(self):
"""Runs main programm in nonstop mode.
"""Runs main program in nonstop mode.
Uses a infinity loop to run Inkycal nonstop. Inkycal generates the image
from all modules, assembles them in one image, refreshed the E-Paper and
@ -273,13 +273,13 @@ class Inkycal:
self.info += f"module {number}: OK "
except Exception as Error:
errors.append(number)
print('Error!')
print('error!')
print(traceback.format_exc())
self.info += f"module {number}: Error! "
self.info += f"module {number}: error! "
logger.exception(f'Exception in module {number}')
if errors:
print('Error/s in modules:',*errors)
print('error/s in modules:',*errors)
counter = 0
else:
counter += 1