diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-27 18:53:35 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-27 19:01:34 +0100 |
commit | 2929503768af22a4f5f66d0f40b82806e86bc374 (patch) | |
tree | e81ed723f4915b3d3ea928613e4fac4ba0d9a498 | |
parent | b4e8115ec719e8852ccef852b7a8a06ec34b81db (diff) | |
download | paste-2929503768af22a4f5f66d0f40b82806e86bc374.tar.gz paste-2929503768af22a4f5f66d0f40b82806e86bc374.tar.xz paste-2929503768af22a4f5f66d0f40b82806e86bc374.zip |
paste.db: normalise UDF naming
-rw-r--r-- | paste/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/db.py b/paste/db.py index c4ee46e..ab25e5f 100644 --- a/paste/db.py +++ b/paste/db.py @@ -144,7 +144,7 @@ def connect( conn.execute("PRAGMA foreign_keys = ON") conn.execute("PRAGMA journal_mode = WAL") conn.row_factory = sqlite3.Row - conn.create_function(name="sha256", narg=1, func=_sha256_udf, deterministic=True) + conn.create_function(name="SHA256", narg=1, func=_sha256_udf, deterministic=True) conn.create_function( name="DATA_HASH", narg=1, func=_data_hash_udf, deterministic=True ) |