mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
TOOLS/file2string.py: fix standalone invocation
This commit is contained in:
@@ -28,4 +28,4 @@ def file2string(infilename, infile, outfile):
|
||||
|
||||
if __name__ == "__main__":
|
||||
with open(sys.argv[1], 'rb') as infile:
|
||||
main(sys.argv[1], infile, sys.stdout)
|
||||
file2string(sys.argv[1], infile, sys.stdout)
|
||||
|
||||
Reference in New Issue
Block a user