summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-02-20 11:08:03 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-20 11:08:03 +0100
commitaa981e2b1df11aebacf2d146ebf24895376324ad (patch)
tree534fb546c1e289e77a93100f4395d9c78e957b35
parentf9e2d688f6755c85b099cb659dd865dae775b607 (diff)
line break instead of literal \n
Change-Id: I0617304a7523ab06b862bdca108265b8ea969ab6
-rwxr-xr-xupload-wiki.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/upload-wiki.pl b/upload-wiki.pl
index 4dd63bf5bf..8a789444b6 100755
--- a/upload-wiki.pl
+++ b/upload-wiki.pl
@@ -138,7 +138,7 @@ sub upload_article {
$mw->edit( {
action => 'edit',
title => $pagename,
- text => $text }, { skip_encoding => 1 } ) || print 'Error: ' . $mw->{error}->{code} . ': ' . $mw->{error}->{details} . '\n';
+ text => $text }, { skip_encoding => 1 } ) || print 'Error: ' . $mw->{error}->{code} . ': ' . $mw->{error}->{details} . "\n";
}
File::Find::find( {wanted => \&upload_article}, 'wiki/' );