mirror of
https://github.com/ytdl-patched/ytdl-patched.git
synced 2026-11-20 19:01:32 +00:00
9 lines
217 B
Python
Executable File
9 lines
217 B
Python
Executable File
#!/usr/bin/env python3
|
|
# coding: utf-8
|
|
from __future__ import unicode_literals
|
|
|
|
import sys
|
|
|
|
# this script converts something like 2021.03.24 into 2021.3.24
|
|
print('.'.join(str(int(x)) for x in sys.argv[1].split('.')))
|