1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-01-01 15:12:05 +01:00

fix: print message when adding record

This commit is contained in:
aclist 2024-01-31 19:09:26 +09:00
parent 7d86af03f1
commit 71757fe982
3 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-47 version=5.0.0.rc-48
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -536,10 +536,10 @@ fetch_dzq(){
fetch_helpers_by_sum(){ fetch_helpers_by_sum(){
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="aae6bd048bc4786a914c3ed45bef82da" ["ui.py"]="198578bad93a68b6dbc36d3545d0c445"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="6f853f3f0fa838ce731f203dddb22702" ["funcs"]="9384522c45e7e9d78e872c540e5121ab"
) )
local author="aclist" local author="aclist"
local repo="dztui" local repo="dztui"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-47 version=5.0.0.rc-48
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -737,6 +737,7 @@ add_to_favs(){
ip_list+=("$record") ip_list+=("$record")
update_config update_config
logger INFO "Added the record $record to saved servers" logger INFO "Added the record $record to saved servers"
printf "Added %s to saved servers" $record
return 90 return 90
} }
remove_from_history(){ remove_from_history(){

View file

@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0-rc.47 # 5.0.0-rc.48
app_name = "DZGUI" app_name = "DZGUI"
cache = {} cache = {}