From c00b5e9ea78f706c8b43ef3088682345b5fc55e1 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Wed, 13 Sep 2023 22:17:51 -0500 Subject: [PATCH 01/20] Update directory_file --- directory_file | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/directory_file b/directory_file index 641e72f..f2d148f 100644 --- a/directory_file +++ b/directory_file @@ -8,12 +8,8 @@
-- -
- +
+ {{ text_affirmation2 }} +
----
@@ -45,44 +42,22 @@
+Want to know more about my profile? πͺ
-##### π Visitor count
-
-
π Visitor count
-
- +
- +
+
+
- +
+
- +
+
-
-
-
@@ -34,23 +34,27 @@ #### Preparation instructions: {{ drink_instructions }} - ----
+
++ +
++
@@ -60,6 +64,7 @@From 18199d76f83023af05f0ba3393c8984c495aacc9 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:23:34 -0500 Subject: [PATCH 09/20] Update directory_file --- directory_file | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/directory_file b/directory_file index c3a8060..f641a31 100644 --- a/directory_file +++ b/directory_file @@ -44,13 +44,13 @@
- +
- - + +
@@ -70,10 +70,10 @@
- + - +
From 78b0fbbefddcf635aa56460205a07fe027c8d735 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:32:56 -0500 Subject: [PATCH 10/20] Update directory_file --- directory_file | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/directory_file b/directory_file index f641a31..4b5150b 100644 --- a/directory_file +++ b/directory_file @@ -13,21 +13,17 @@ {{ text_affirmation2 }} ---- -- -#### Name: **{{ drink_name }}** - -#### Alcoholic category: **{{ drink_alcoholic_category }}** -#### Category: **{{ drink_category }}** +
- +
@@ -70,10 +66,10 @@- + - +
@@ -91,12 +87,16 @@
{{{ languages }}}
-
- - + |
+{{{ coded_on_os }}} + | +
-
+{{ drink_instructions }} +
---- @@ -66,10 +68,10 @@- + - +
From ad2b204059ba09af04120e83bfc13fa913494b39 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:39:17 -0500 Subject: [PATCH 12/20] Update directory_file --- directory_file | 2 ++ 1 file changed, 2 insertions(+) diff --git a/directory_file b/directory_file index a5a6d6e..31e7993 100644 --- a/directory_file +++ b/directory_file @@ -12,7 +12,9 @@{{ text_affirmation2 }}
+ ---- ++ {{ text_affirmation1 }} {{ text_affirmation2 }}
From ba786236a0447878ac2c45eac94003b370949a51 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:45:45 -0500 Subject: [PATCH 15/20] Update directory_file --- directory_file | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/directory_file b/directory_file index 61ba162..c15c686 100644 --- a/directory_file +++ b/directory_file @@ -9,8 +9,11 @@+ {{ text_affirmation1 }} + {{ text_affirmation2 }} +
---- @@ -26,8 +29,16 @@{{{ table_drink }}} + | +
From bab94396ba4762ec3e2945c8eaf43f77e8bfe7bd Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:48:56 -0500 Subject: [PATCH 16/20] Black Linter --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 47c0b14..142d75c 100644 --- a/main.py +++ b/main.py @@ -105,8 +105,8 @@ async def getAffirmation() -> Dict[str, str]: f"https://api.funtranslations.com/translate/{translate_to}.json?text={affirmation}" ) affirmation = (response.json()).get("contents").get("translated") - affirmation = f"Someone once said: \"{affirmation}\"" - text = f"-- \"{text}\" in {translate_to} language --" + affirmation = f'Someone once said: "{affirmation}"' + text = f'-- "{text}" in {translate_to} language --' new_dictionary: Dict[str, str] = dict() new_dictionary["text_affirmation1"] = affirmation @@ -182,7 +182,7 @@ async def getAffirmation() -> Dict[str, str]: except Exception or KeyboardInterrupt: return { "text_affirmation1": "An error ocurred", - "text_affirmation2":"Please try again later" + "text_affirmation2": "Please try again later" } From efaa2ca0cdb34ea6156469ed3a1d885b1d5e7b88 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:49:49 -0500 Subject: [PATCH 17/20] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c0ffc25..3ce1809 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,7 @@ on: workflow_dispatch: schedule: - - cron: '15 3 * * 0' + - cron: '0 0 * * *' jobs: analyze: From ac060546b0690115e905a30d407b44527e427987 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:52:10 -0500 Subject: [PATCH 18/20] Update directory_file --- directory_file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/directory_file b/directory_file index c15c686..9b455c9 100644 --- a/directory_file +++ b/directory_file @@ -8,9 +8,9 @@
-+{{ text_affirmation1 }} - {{ text_affirmation1 }} +
{{ text_affirmation2 }} From 77ab9669bd5b2cf7bcf763678962e3be3b2f5230 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:00:13 -0500 Subject: [PATCH 19/20] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 142d75c..f9fff26 100644 --- a/main.py +++ b/main.py @@ -182,7 +182,7 @@ async def getAffirmation() -> Dict[str, str]: except Exception or KeyboardInterrupt: return { "text_affirmation1": "An error ocurred", - "text_affirmation2": "Please try again later" + "text_affirmation2": "Please try again later", } From 496b9311e4eb868845f0edbd20041290e5c50a8c Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:03:57 -0500 Subject: [PATCH 20/20] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f9fff26..b8effdf 100644 --- a/main.py +++ b/main.py @@ -181,7 +181,7 @@ async def getAffirmation() -> Dict[str, str]: except Exception or KeyboardInterrupt: return { - "text_affirmation1": "An error ocurred", + "text_affirmation1": "An error ocurred", "text_affirmation2": "Please try again later", }