X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fdictionary-manager;h=c8e003dfa71f084cb9314efb5e3247b44f5350fc;hp=5501765992e14e21953238e4fce7724a4801bc32;hb=33f3a4cd5821208321f0bf61e2ae6c07504c8b86;hpb=93732484adcab512e594a928af2536955e8d6cab diff --git a/yarrg/dictionary-manager b/yarrg/dictionary-manager index 5501765..c8e003d 100755 --- a/yarrg/dictionary-manager +++ b/yarrg/dictionary-manager @@ -1,6 +1,6 @@ #!/usr/bin/wish -# helper program for OCR in PCTB upload client +# helper program for OCR in yarrg upload client # This is part of ypp-sc-tools, a set of third-party tools for assisting # players of Yohoho Puzzle Pirates. @@ -516,8 +516,8 @@ proc upload_status {} { # returns 0, 1, 2 for none, anon, with pirate name global env - if {![info exists env(YPPSC_PCTB_DICT_SUBMIT)]} { debug a; return 0 } - if {![string compare 0 $env(YPPSC_PCTB_DICT_SUBMIT)]} { debug b; return 0 } + if {![info exists env(YPPSC_YARRG_DICT_SUBMIT)]} { debug a; return 0 } + if {![string compare 0 $env(YPPSC_YARRG_DICT_SUBMIT)]} { debug b; return 0 } if {![info exists env(YPPSC_PIRATE)]} { return 1 } if {![info exists env(YPPSC_OCEAN)]} { return 1 } @@ -550,7 +550,7 @@ proc maybe_upload_entry {im def} { } lappend pl entry [format_database_entry/$reqkind $im $def] - set url $env(YPPSC_PCTB_DICT_SUBMIT) + set url $env(YPPSC_YARRG_DICT_SUBMIT) append url dictionary-update-receiver set query [eval ::http::formatQuery $pl]