Skip to content

Commit

Permalink
import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Oct 9, 2018
1 parent 6bad452 commit 83d99de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sap/scp-html5-bot.pl
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ sub importHtml5Application {
);
my $importApp = $ua->request( $importApp_req ) or warn "Unable to POST importHtml5Application: $!";
print $importApp->content if $debug;
if ($importApp->content =~ /Created/g) {
if ($importApp->content =~ /Created/g || $importApp->content =~ /201/g) { # 2018/10/09: <html><head></head><body>[201]:</body></html>
print "\nImport successful!\n";
} elsif ($importApp->content =~ /exists/g) { # <html><head></head><body>[409]:Version already exists</body></html>
print "\nVersion already exists!\n";
Expand Down

0 comments on commit 83d99de

Please sign in to comment.