From ef0cdf8e142ef0ed3b7fe9d0283d5783a0b4caf1 Mon Sep 17 00:00:00 2001 From: James W Thorne Date: Tue, 17 Jan 2017 18:17:24 -0600 Subject: [PATCH] Forgot empty function --- snappass/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snappass/main.py b/snappass/main.py index b46a8bd..1df89d9 100644 --- a/snappass/main.py +++ b/snappass/main.py @@ -65,6 +65,9 @@ def get_password(key): redis_client.delete(key) return password +def empty(value): + if not value: + return True def clean_input(): """