We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 741de53 + a16359f commit c52c979Copy full SHA for c52c979
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "ssb-konjunk"
3
-version = "2.0.2"
+version = "2.0.3"
4
description = "SSB Konjunk 422"
5
authors = ["Johanne Saxegaard <jox@ssb.no>, Halvor Steffenssen <hvr@ssb.no>"]
6
license = "MIT"
src/ssb_konjunk/prompts.py
@@ -44,8 +44,12 @@ def input_year() -> int:
44
if year == now:
45
return year
46
else:
47
- print("Er du sikker på at du skal kjøre statistikk for dette året?", year)
48
- if input("y/n") == "y":
+ print(
+ "Er du sikker på at du skal kjøre statistikk for dette året? ja/nei",
49
+ year,
50
+ )
51
+ user_input = input().strip().lower()
52
+ if user_input in ("j", "ja"):
53
54
55
0 commit comments