Withdraw trex6 from tournament 'Tabiyas'.

This commit is contained in:
vonavi 2014-04-18 13:29:28 +03:00
parent 08d0cdaf81
commit 4e4629dc49
2 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,7 @@
lor: trex6
lichess: txgames
elo: 1283
status: withdrew
- number: 7
lor: Magian

View File

@ -5,6 +5,9 @@
REPO=fat0troll/lorchess
TOURNAMENT=2014/1-tabiyas
# *FIXME* Withdrew players should be taken from the main config
WITHDREW_PLS="trex6"
# Variables
date_re="([0-9?]{2})\\.([0-9?]{2})\\.([0-9?]{4})"
res_re="(0|1|0\\.5):(0|1|0\\.5)"
@ -100,7 +103,9 @@ show_tour_info() {
# Store the link of game in variable '$url'
if $SHOW_LINK; then
[[ -n "$result" ]] && store_game_url
if [[ ! "$WITHDREW_PLS" =~ (^|' '+)("${white}"|"${black}")($|' '+) ]]; then
[[ -n "$result" ]] && store_game_url
fi
fi
output_lines+="${white} ${black} ${result} ${url}\n"