mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: backwards compatibility for pre 3.10 python3
This commit is contained in:
1 parent
8b2900e303
commit
2c41f5a10d
3 files changed
+17
-6
No files matched your search
@@ -2002,7 +2002,9 @@ fetch_dzq(){
|
||||
curl -Ls "$url" > $helpers_path/a2s/$repo.py
|
||||
}
|
||||
fetch_query(){
|
||||
[[ $(md5sum $helpers_path/query.py | awk '{print $1}') == "7cbae12ae68b526e7ff376b638123cc7" ]] && return
|
||||
local sum="d52ff070b5bb36ace2fce2d914479f47"
|
||||
local file="$helpers_path/query.py"
|
||||
[[ -f $file ]] && [[ $(md5sum $file | awk '{print $1}') == $sum ]] && return
|
||||
local author="aclist"
|
||||
local repo="dzgui"
|
||||
local url="https://raw.githubusercontent.com/$author/dztui/$repo/helpers/query.py"
|
||||
|
||||
Reference in new issue
Block a user