summary refs log tree commit diff
path: root/pkgs/applications/misc/mnamer/update_hack.patch
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-22 00:02:07 +0000
committerGitHub <noreply@github.com>2021-07-22 00:02:07 +0000
commit9f3ace4591752351eed2a2d640d5366b72751c4d (patch)
treed59a2791036ba69842e097e10007f62af53df03a /pkgs/applications/misc/mnamer/update_hack.patch
parent87cfb513c1454a2db75db9483d713eeca4341766 (diff)
parent8020f53c688d440707d27e2d76a5d453b7f9665e (diff)
downloadnixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar.gz
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar.bz2
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar.lz
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar.xz
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.tar.zst
nixpkgs-9f3ace4591752351eed2a2d640d5366b72751c4d.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/misc/mnamer/update_hack.patch')
-rw-r--r--pkgs/applications/misc/mnamer/update_hack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mnamer/update_hack.patch b/pkgs/applications/misc/mnamer/update_hack.patch
new file mode 100644
index 00000000000..56c83a20a9c
--- /dev/null
+++ b/pkgs/applications/misc/mnamer/update_hack.patch
@@ -0,0 +1,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(