]> jfr.im git - yt-dlp.git/blobdiff - devscripts/update-version.py
[cleanup] Consistent style for file heads
[yt-dlp.git] / devscripts / update-version.py
index 991cfb2aff0db83a2fcde6c025dc68b7e4f17ccb..c5bc83de93c1f83ca5710f1e761765c557b6de30 100644 (file)
@@ -1,4 +1,12 @@
 #!/usr/bin/env python3
+
+# Allow direct execution
+import os
+import sys
+
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+
 import subprocess
 import sys
 from datetime import datetime