Skip to content
Snippets Groups Projects

Add more type hints

Merged Newbyte requested to merge newbyte/mypyer into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -292,7 +292,7 @@ def ask_for_timezone() -> str:
pass
if tz:
logging.info(f"Your host timezone: {tz}")
if pmb.helpers.cli.confirm("Use this timezone instead of GMT?", default="y"):
if pmb.helpers.cli.confirm("Use this timezone instead of GMT?", default=True):
return tz
logging.info("WARNING: Unable to determine timezone configuration on host, using GMT.")
return "GMT"
Loading