From ca76ba824de02685dcd385c648e5d9be44b9b658 Mon Sep 17 00:00:00 2001 From: DGrothe-PhD Date: Fri, 20 Sep 2024 15:24:57 +0200 Subject: [PATCH] sys.exit as suggested --- getRBBWeather.py | 4 ++-- pylintrc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/getRBBWeather.py b/getRBBWeather.py index 4b9eed6..e5d3091 100644 --- a/getRBBWeather.py +++ b/getRBBWeather.py @@ -1,4 +1,4 @@ -# +import sys from speakerSetup import SpeakerStatus from videoText import RbbWeather @@ -17,4 +17,4 @@ def printAndSay(text): printAndSay(textHeute.content) except KeyboardInterrupt: print("Auf Wiedersehen!") - quit() \ No newline at end of file + sys.exit() \ No newline at end of file diff --git a/pylintrc b/pylintrc index f0103d6..496976a 100644 --- a/pylintrc +++ b/pylintrc @@ -7,7 +7,6 @@ variable-naming-style=camelCase class-naming-style=PascalCase module-naming-style=camelCase argument-naming-style=camelCase -constant-naming-style=camelCase disable=missing-final-newline, missing-module-docstring,