mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
TOOLS/file2string.py: fix standalone invocation
This commit is contained in:
parent
737e3b1758
commit
0b9f1e0323
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user