papi-projects 0.2.2__tar.gz → 0.2.3__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.2.2
3
+ Version: 0.2.3
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.2.2"
3
+ version = "0.2.3"
4
4
  description = "PAPI is an API for managing projects"
5
5
  authors = ["sandyjmacdonald <sandyjmacdonald@gmail.com>"]
6
6
  license = "MIT"
@@ -81,7 +81,8 @@ def main():
81
81
 
82
82
  pyperclip.copy(project.id)
83
83
 
84
- logger.info(f"Project created with ID: {project.id} (copied to clipboard)")
84
+ print()
85
+ print(f"Project created with ID: {project.id} (copied to clipboard)")
85
86
 
86
87
  if __name__ == "__main__":
87
88
  main()
@@ -148,8 +148,6 @@ def main():
148
148
  # Create project on Toggl Track
149
149
  toggl_proj_id = toggl.create_project(project, toggl.default_workspace_id)
150
150
 
151
- pyperclip.copy(project.id)
152
-
153
151
  if enable_notion:
154
152
  # Set up Notion API wrapper
155
153
  #
@@ -170,9 +168,10 @@ def main():
170
168
  else:
171
169
  notion_proj_id = notion.create_project(project, user, notion_projects_db)
172
170
 
173
- pyperclip.copy(project.id)
171
+ pyperclip.copy(project.id)
174
172
 
175
- logger.info(f"Project created with ID: {project.id} (copied to clipboard)")
173
+ print()
174
+ print(f"Project created with ID: {project.id} (copied to clipboard)")
176
175
 
177
176
  if __name__ == "__main__":
178
177
  main()
@@ -77,7 +77,8 @@ def main():
77
77
 
78
78
  pyperclip.copy(project.id)
79
79
 
80
- logger.info(f"Project created with ID: {project.id} (copied to clipboard)")
80
+ print()
81
+ print(f"Project created with ID: {project.id} (copied to clipboard)")
81
82
 
82
83
  if __name__ == "__main__":
83
84
  main()
File without changes