wslshot 0.0.7__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.
- {wslshot-0.0.7 → wslshot-0.0.8}/PKG-INFO +1 -1
- {wslshot-0.0.7 → wslshot-0.0.8}/setup.py +1 -1
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot/cli.py +3 -2
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/PKG-INFO +1 -1
- {wslshot-0.0.7 → wslshot-0.0.8}/LICENSE +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/README.md +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/setup.cfg +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot/__init__.py +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/SOURCES.txt +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/dependency_links.txt +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/entry_points.txt +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/requires.txt +0 -0
- {wslshot-0.0.7 → wslshot-0.0.8}/wslshot.egg-info/top_level.txt +0 -0
|
@@ -116,9 +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
|
-
if is_git_repo()
|
|
120
|
-
stage_screenshots(copied_screenshots)
|
|
119
|
+
if is_git_repo():
|
|
121
120
|
copied_screenshots = format_screenshots_path_for_git(copied_screenshots)
|
|
121
|
+
if bool(config["auto_stage_enabled"]):
|
|
122
|
+
stage_screenshots(copied_screenshots)
|
|
122
123
|
|
|
123
124
|
# Print the screenshot(s)'s path in the specified format.
|
|
124
125
|
print_formatted_path(output_format, copied_screenshots)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|