]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - devscripts/make_supportedsites.py
debian/patch: Refresh all patches to avoid FTBFS.
[youtubedl] / devscripts / make_supportedsites.py
index 3df4385a6b09a520791f67f8f3958c0b635df1bf..764795bc5b1e560b033c2e9a0c395cecb10b1242 100644 (file)
@@ -9,7 +9,7 @@ import sys
 
 # Import youtube_dl
 ROOT_DIR = os.path.join(os.path.dirname(__file__), '..')
 
 # Import youtube_dl
 ROOT_DIR = os.path.join(os.path.dirname(__file__), '..')
-sys.path.append(ROOT_DIR)
+sys.path.insert(0, ROOT_DIR)
 import youtube_dl
 
 
 import youtube_dl
 
 
@@ -41,5 +41,6 @@ def main():
     with io.open(outfile, 'w', encoding='utf-8') as outf:
         outf.write(out)
 
     with io.open(outfile, 'w', encoding='utf-8') as outf:
         outf.write(out)
 
+
 if __name__ == '__main__':
     main()
 if __name__ == '__main__':
     main()