skilleter-thingy 0.1.21__py3-none-any.whl → 0.1.23__py3-none-any.whl

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.

Potentially problematic release.


This version of skilleter-thingy might be problematic. Click here for more details.

@@ -27,14 +27,16 @@ def main():
27
27
 
28
28
  args = parser.parse_args()
29
29
 
30
+ tag = args.tag[0]
31
+
30
32
  # Delete the tag if it currently exists, optionally pushing the deletion
31
33
 
32
- if args.tag in git.tags():
33
- git.tag_delete(args.tag, push=args.push)
34
+ if tag in git.tags():
35
+ git.tag_delete(tag, push=args.push)
34
36
 
35
37
  # Apply the tag
36
38
 
37
- git.tag_apply(args.tag, push=args.push)
39
+ git.tag_apply(tag, push=args.push)
38
40
 
39
41
  ################################################################################
40
42
 
@@ -167,7 +167,8 @@ def media_sync(args):
167
167
 
168
168
  files_copied += 1
169
169
 
170
- print(f'{files_copied} files copied')
170
+ if files_copied:
171
+ print(f'{files_copied} files copied')
171
172
 
172
173
  ################################################################################
173
174