X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fdictionary-manager;h=46a5902f9721e741b3b65f3683236a412b314609;hb=27d9c020c52e2ad3d6e8ae5c4b113f062ec01251;hp=2231266edc8f0e0ef441067a7e5ffd276ba52ba6;hpb=938b4dd547bfc4d9538a5714b6f21ab3da50d8d1;p=ypp-sc-tools.main.git diff --git a/yarrg/dictionary-manager b/yarrg/dictionary-manager index 2231266..46a5902 100755 --- a/yarrg/dictionary-manager +++ b/yarrg/dictionary-manager @@ -31,6 +31,8 @@ # ./dictionary-manager --approve-updates '' . . +source yarrglib.tcl + # invocation: # OUT OF DATE @@ -508,13 +510,7 @@ proc upload_init {} { } if {$privacy_setting} { package require http - ::http::config -urlencoding utf-8 - set ua [::http::config -useragent] - debug "USERAGENT OLD \"$ua\"" - set ua [exec ./database-info-fetch useragentstringmap $ua \ - dictionary-manager 2>@ stderr] - ::http::config -useragent $ua - debug "USERAGENT NEW \"$ua\"" + httpclientsetup dictionary-manager } }