From ccf1392ade6855f3d34d0d8bf89f49593da8ae56 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Thu, 2 May 2024 17:23:58 +0200 Subject: Make bottle_sqlite note more PC --- notes/bottle_kinda_sucks.md | 3 --- notes/patching-bottle_sqlite.md | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 notes/bottle_kinda_sucks.md create mode 100644 notes/patching-bottle_sqlite.md (limited to 'notes') diff --git a/notes/bottle_kinda_sucks.md b/notes/bottle_kinda_sucks.md deleted file mode 100644 index 9198de2..0000000 --- a/notes/bottle_kinda_sucks.md +++ /dev/null @@ -1,3 +0,0 @@ -# Bottle sqlite sucks ass -It's outdated as fuck. In line 114 of "bottle_sqlite.py" a deprecated function is being used (this shit isnt updated) -getargspec() is deprecated, swap with getfullargspec() and it works diff --git a/notes/patching-bottle_sqlite.md b/notes/patching-bottle_sqlite.md new file mode 100644 index 0000000..8bde02b --- /dev/null +++ b/notes/patching-bottle_sqlite.md @@ -0,0 +1,8 @@ +# Patching `bottle_sqlite` + +This library is a little outdated, so if you're running a version of Python +newer than 3.9, you will need to manually patch it before running. + +In line 114 of `bottle_sqlite.py` a deprecated function is being used. +`getargspec()` is deprecated, swap with `getfullargspec()` and the library +should continue working. -- cgit v1.2.3