papi-projects 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: papi-projects
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: PAPI is an API for managing projects
5
5
  License: MIT
6
6
  Author: sandyjmacdonald
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "papi-projects"
3
- version = "0.1.8"
3
+ version = "0.1.9"
4
4
  description = "PAPI is an API for managing projects"
5
5
  authors = ["sandyjmacdonald <sandyjmacdonald@gmail.com>"]
6
6
  license = "MIT"
@@ -29,7 +29,7 @@ def prompt_for_args():
29
29
  if enable_logging:
30
30
  log_level_choices = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
31
31
  log_level = input(f"Set log level {log_level_choices} [INFO]: ").strip().upper()
32
- log_level = log_level if log_level else None
32
+ log_level = log_level if log_level else "INFO"
33
33
  if log_level is not None and log_level not in log_level_choices:
34
34
  print("Invalid log level. Defaulting to 'INFO'.")
35
35
  log_level = 'INFO'
File without changes