bin/sekka-server in sekka-1.7.1 vs bin/sekka-server in sekka-1.8.0
- old
+ new
@@ -122,21 +122,21 @@
if not File.exist?( targetfile )
STDERR.printf( "Info: Downloading SEKKA-JISYO\n" )
# 辞書のURLをダウンロードする
dl = Downloader.new( urlurl )
dl.download()
- targeturl = dl.getBody().chomp
+ targeturl = dl.getBody().chomp.chomp
dl.clearBody()
# md5記載ファイルをダウンロード
dl = Downloader.new( sumurl )
dl.download()
md5body = dl.getBody()
correctSum = md5body.chomp.split[0]
dl.clearBody()
# 辞書ファイル本体をダウンロード
- STDERR.printf( " downloading URL : %s ...\n", targeturl );
+ STDERR.printf( " downloading URL : [%s] ...\n", targeturl );
dl = Downloader.new( targeturl )
dl.downloadToFile( targetfile )
dl.clearBody()
# チェックサムを確認する