Error on update - home_settings

There is a patch fix for hiding cards for all users, however since the update I’m having trouble updating frappe.

File “/opt/erpnext/erpnext/apps/frappe/frappe/modules/”, line 30, in run_patch
if not run_single(patchmodule = patch):
File “/opt/erpnext/erpnext/apps/frappe/frappe/modules/”, line 71, in run_single
return execute_patch(patchmodule, method, methodargs)
File “/opt/erpnext/erpnext/apps/frappe/frappe/modules/”, line 91, in execute_patch
frappe.get_attr(patchmodule.split()[0] + “.execute”)()
File “/opt/erpnext/erpnext/apps/frappe/frappe/patches/v12_0/”, line 28, in execute
hidden_modules = home_settings[‘hidden_modules’]
KeyError: ‘hidden_modules’

So as I’ve been posting this here: "Hidden Modules" error in bench update

However, it might be useless to you, since you wanted to get this specific patch. But at least it allows your site to be working again.