From c3010b4b0e407f47037e67cfccfe11ed4f99f5c9 Mon Sep 17 00:00:00 2001 From: Hydrus Network Developer Date: Wed, 6 Mar 2024 16:36:13 -0600 Subject: [PATCH] Small update fix for source users Maybe on python 3.12? --- docs/changelog.md | 1 - docs/old_changelog.html | 1 - hydrus/client/db/ClientDB.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index e14449a6..a367358e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -43,7 +43,6 @@ title: Changelog * fixed some media duration 'second' components being rendered with extraneous .0, like '30.0 seconds' * fixed a db routine that fetches a huge table in pieces to not repeat a few rows when the ids it is fetching are non-contiguous, and to report the correct quantity of work done as a result (it was saying like 17,563/17,562) * the new _help->about_ Qt platformName addition will now say if the actual platformName differs from the running platformName (e.g. if it was set otherwise with a Qt launch parameter) -* updated the builds to use `softprops/action-gh-release@ 4634c16e79c963813287e889244c50009e7f0981`, which should solve the Node16 deprecation warnings for now ### client api diff --git a/docs/old_changelog.html b/docs/old_changelog.html index 0d25160d..c4aa18d4 100644 --- a/docs/old_changelog.html +++ b/docs/old_changelog.html @@ -63,7 +63,6 @@
  • fixed right-clicking on some empty system predicates like 'system:duration' (those I overhauled the other week with NumberTests)
  • fixed a db routine that fetches a huge table in pieces to not repeat a few rows when the ids it is fetching are non-contiguous, and to report the correct quantity of work done as a result (it was saying like 17,563/17,562)
  • the new _help->about_ Qt platformName addition will now say if the actual platformName differs from the running platformName (e.g. if it was set otherwise with a Qt launch parameter)
  • -
  • updated the builds to use `softprops/action-gh-release@ 4634c16e79c963813287e889244c50009e7f0981`, which should solve the Node16 deprecation warnings for now
  • client api

  • just a small thing, but the under-documented `/manage_database/get_client_options` call now says the four types of default tag sort. I left the old key, `default_tag_sort`, in so as not to break stuff, but it is just a copy of the `search_page` variant in the new `default_tag_sort_xxx` foursome
  • client api version is now 62
  • diff --git a/hydrus/client/db/ClientDB.py b/hydrus/client/db/ClientDB.py index 9ef75846..facee217 100644 --- a/hydrus/client/db/ClientDB.py +++ b/hydrus/client/db/ClientDB.py @@ -10313,7 +10313,7 @@ class DB( HydrusDB.HydrusDB ): import re - regex_pattern = 'http\S+\s+http' + regex_pattern = r'http\S+\s+http' CHUNK_SIZE = 10000