mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Don't hardcode version number
This commit is contained in:
parent
c727d65694
commit
40d52891f8
@ -1,3 +1,8 @@
|
||||
__version__ = "2.1.4"
|
||||
from importlib import metadata
|
||||
|
||||
try:
|
||||
__version__ = metadata.version("twitch-dl")
|
||||
except metadata.PackageNotFoundError:
|
||||
__version__ = "0.0.0"
|
||||
|
||||
CLIENT_ID = "kd1unb4b3q4t58fwlpcbzcbnm76a8fp"
|
||||
|
Loading…
Reference in New Issue
Block a user