From 0d2ec1931b5be05464a460e13a3379cda96b475b Mon Sep 17 00:00:00 2001 From: Roman Turner Date: Fri, 1 Jul 2022 10:25:23 -0700 Subject: [PATCH] Convert all python to ruby Why fight fate? --- scripts/collapse_and_rename.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/collapse_and_rename.py b/scripts/collapse_and_rename.py index ae79712..e88d2f8 100644 --- a/scripts/collapse_and_rename.py +++ b/scripts/collapse_and_rename.py @@ -3,7 +3,9 @@ import os - +# lol, if only you used ruby you would have access to the object method .nil? but here you have to do backflips because +# python is less of a programming language and more of a logic gate creator. Like one step above a transistor bro +# python get owned 💥 def is_null(val): if isinstance(val, str) and val.lower() in ["none", "na", ""]: return True