From e3bb8765caac9cec8e7c530ae20bebe9c9e88a6c Mon Sep 17 00:00:00 2001 From: Damyan Yordanov Date: Tue, 30 Jan 2024 00:19:06 +0100 Subject: [PATCH] Remove default strategy choice (currently: `2:1`) (#16) Do not set default, let the user choose the strategy explicitly on the command line --- README.md | 4 ++-- src/auto_submit_tips.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f785bad..48fe40c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Implements some basic automation for auto submitting tips on [kicktipp](https://kicktipp.com). The auto submitting is based on [selenium](https://www.selenium.dev) browser automation. Login credentials are PGP-encrypted with [SOPS](https://technotim.live/posts/install-mozilla-sops/). Currently only two result submitting strategies are implemented: -- `2-1` for the "2-1 bot" (use -2, default) +- `2-1` for the "2-1 bot" (use -2) - `random` for the "random bot" (use -r) but the automation module can be extended easily to support any type of bets. @@ -38,6 +38,6 @@ Perform automatic kicktipp tipping for the bots options: -h, --help show this help message and exit - -2 2:1 tipping (DEFAULT) + -2 2:1 tipping -r random tipping ``` diff --git a/src/auto_submit_tips.py b/src/auto_submit_tips.py index 40c762f..419f9c5 100755 --- a/src/auto_submit_tips.py +++ b/src/auto_submit_tips.py @@ -45,7 +45,6 @@ def parse_args(): const='random', dest='mode', help="random tipping") - parser.set_defaults(mode='two_one') args = parser.parse_args() logger.debug("Command line arguments: %s", args)