Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/collapse_and_rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down