diff options
| author | Cody Logan <clpo13@gmail.com> | 2023-09-26 15:45:43 -0700 |
|---|---|---|
| committer | Cody Logan <clpo13@gmail.com> | 2023-09-26 15:51:32 -0700 |
| commit | 75a79785d851efa319f4216e0d3471d30a02154a (patch) | |
| tree | d5ffdc39a4333627e94d86e83cb574154b1a5ce2 /src/wikiget/__init__.py | |
| parent | a18209a9723f82b292daf05feab1b00b207fe283 (diff) | |
| download | wikiget-75a79785d851efa319f4216e0d3471d30a02154a.tar.gz wikiget-75a79785d851efa319f4216e0d3471d30a02154a.zip | |
Style and format fixes
Diffstat (limited to 'src/wikiget/__init__.py')
| -rw-r--r-- | src/wikiget/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wikiget/__init__.py b/src/wikiget/__init__.py index 20ea620..5b917cf 100644 --- a/src/wikiget/__init__.py +++ b/src/wikiget/__init__.py @@ -24,8 +24,9 @@ BLOCKSIZE = 65536 CHUNKSIZE = 1024 DEFAULT_SITE = "commons.wikimedia.org" DEFAULT_PATH = "/w/" -USER_AGENT = "wikiget/{} (https://github.com/clpo13/wikiget) mwclient/{}".format( - wikiget_version, mwclient_version +USER_AGENT = ( + f"wikiget/{wikiget_version} (https://github.com/clpo13/wikiget) " + f"mwclient/{mwclient_version}" ) STD_VERBOSE = 1 VERY_VERBOSE = 2 |
