From e68938f806f5c69015b8c25dcb9ec3102dced6fa Mon Sep 17 00:00:00 2001 From: Rob Kam Date: Fri, 29 Mar 2024 12:06:03 +0000 Subject: [PATCH 1/2] no need to specify pip3 pip aliases to pip3 --- INSTALLATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 8dab60fe..b1736924 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -110,7 +110,7 @@ poetry update && poetry install && poetry build ``` ```bash -pip3 install --force-reinstall dist/*.whl +pip install --force-reinstall dist/*.whl ```
From 8aa0c8e7bddd54fc298763413d3b957ca028247d Mon Sep 17 00:00:00 2001 From: Rob Kam Date: Fri, 29 Mar 2024 13:34:50 +0000 Subject: [PATCH 2/2] fix docstring --- wikiteam3/utils/user_agent.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wikiteam3/utils/user_agent.py b/wikiteam3/utils/user_agent.py index 98604d25..cabf9fe0 100644 --- a/wikiteam3/utils/user_agent.py +++ b/wikiteam3/utils/user_agent.py @@ -1,8 +1,9 @@ -import requests - """Return a cool user-agent to hide Python user-agent""" +import requests + + def getUserAgent(): useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" return useragent