[stickynotes-antispam] Use correct variable name



commit ab0688abf72bfa7c03be9cd376d26986f55c585e
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 1 13:34:00 2019 +0200

    Use correct variable name

 stickynotes-antispam.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stickynotes-antispam.py b/stickynotes-antispam.py
index 2565f0b..58d0d40 100755
--- a/stickynotes-antispam.py
+++ b/stickynotes-antispam.py
@@ -38,7 +38,7 @@ def check_if_spam(data):
 
 def main():
     try:
-        hostname = os.environ["STICKYNOTES_DB_HOST"]
+        hostname = os.environ["STICKYNOTES_DB_HOSTNAME"]
         username = os.environ["STICKYNOTES_DB_USERNAME"]
         password = os.environ["STICKYNOTES_DB_PASSWORD"]
         dbname = os.environ["STICKYNOTES_DB_NAME"]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]