wslshot 0.0.6__tar.gz → 0.0.8__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: wslshot
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Home-page: https://github.com/sderev/wslshot
5
5
  Author: Sébastien De Revière
6
6
  License: Apache Licence, Version 2.0
@@ -1,7 +1,7 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
3
 
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.8"
5
5
 
6
6
 
7
7
  def read_requirements():
@@ -116,10 +116,10 @@ def wslshot_cli(source, destination, count, output_format):
116
116
 
117
117
  # Automatically stage the screenshot(s) if the destination is a git repo.
118
118
  # But only if auto_stage is enabled in the config.
119
- print(f"{config['auto_stage_enabled']=}")
120
- if is_git_repo() and bool(config["auto_stage_enabled"]):
121
- stage_screenshots(copied_screenshots)
119
+ if is_git_repo():
122
120
  copied_screenshots = format_screenshots_path_for_git(copied_screenshots)
121
+ if bool(config["auto_stage_enabled"]):
122
+ stage_screenshots(copied_screenshots)
123
123
 
124
124
  # Print the screenshot(s)'s path in the specified format.
125
125
  print_formatted_path(output_format, copied_screenshots)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslshot
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Home-page: https://github.com/sderev/wslshot
5
5
  Author: Sébastien De Revière
6
6
  License: Apache Licence, Version 2.0
File without changes
File without changes
File without changes
File without changes