diff options
-rw-r--r-- | ranking.py | 2 | ||||
-rw-r--r-- | templates/ranking.html | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -78,7 +78,7 @@ table = bs4(file('templates/ranking.html'), 'lxml') table_body = table.select('tbody')[0] table_row = table_body.select('tr')[0].extract() -table.select('.page-header h1 small')[0].string = 'z dnia %s' % ( +table.select('.page-header h1 small')[0].string = 'stan na %s' % ( '.'.join(sys.argv[1].split('-')[::-1]) ) diff --git a/templates/ranking.html b/templates/ranking.html index b7013f5..d6f5b15 100644 --- a/templates/ranking.html +++ b/templates/ranking.html @@ -1,7 +1,7 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>Ranking PZBS</title> + <title>Oficjalny Ranking Brydżowy PZBS</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" /> <link rel="stylesheet" href="res/ranking.css" /> </head> @@ -9,7 +9,7 @@ <div class="container"> <div class="page-header"> <h1> - Ranking PZBS + Oficjalny Ranking Brydżowy PZBS <small></small> </h1> </div> |