Skip to content

Commit

Permalink
Explicitly use Python 3 for scripts
Browse files Browse the repository at this point in the history
While Python 2 is long dead, and a 'bin/env python' shebang is probably
perfectly fine, this is just a bit safer.

See <beetbox#4604>.
  • Loading branch information
Arav K. committed Jun 14, 2024
1 parent 0b517fc commit 0b10d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/rsrc/convert_stub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""A tiny tool used to test the `convert` plugin. It copies a file and appends
a specified text tag.
Expand Down
2 changes: 1 addition & 1 deletion test/testall.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# This file is part of beets.
# Copyright 2016, Adrian Sampson.
Expand Down

0 comments on commit 0b10d84

Please sign in to comment.