From f49952b4f2dda7cb43b7c4296953bcd1d98834ac Mon Sep 17 00:00:00 2001 From: Midgard Date: Sat, 15 Aug 2020 17:58:02 +0200 Subject: [PATCH] Correct incorrect comment --- app/hlds/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hlds/parser.py b/app/hlds/parser.py index 55c9fb5..08c87eb 100644 --- a/app/hlds/parser.py +++ b/app/hlds/parser.py @@ -33,7 +33,7 @@ class HldsSemanticActions: if not isinstance(choice[1], Choice): dish.choices[i] = (dish.choices[i][0], deepcopy(choices[choice[1]])) - # Move the base price to the first single_choice if the dish has a fixed price + # Move the base price to the first single_choice if the dish doesn't have a fixed price first_single_choice = first( c[1] for c in dish.choices if c[0] == "single_choice" )