summary refs log tree commit diff
path: root/pkgs/applications/misc/mnamer/update_hack.patch
blob: 56c83a20a9ce38efaae0a5668cc167589f79b042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/mnamer/utils.py b/mnamer/utils.py
index 636b596..e52bd37 100644
--- a/mnamer/utils.py
+++ b/mnamer/utils.py
@@ -280,7 +280,7 @@ def request_json(
         "like Gecko) Chrome/79.0.3945.88 Safari/537.36"
     )
 
-    initial_cache_state = session._is_cache_disabled  # yes, i'm a bad person
+    initial_cache_state = session._disabled  # yes, i'm a bad person
     try:
         session._is_cache_disabled = not cache
         response = session.request(