mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	Improve formatting
This commit is contained in:
		@@ -582,8 +582,10 @@ def _real_main(argv=None):
 | 
				
			|||||||
    if opts.verbose:
 | 
					    if opts.verbose:
 | 
				
			||||||
        ydl.to_screen(u'[debug] youtube-dl version ' + __version__)
 | 
					        ydl.to_screen(u'[debug] youtube-dl version ' + __version__)
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            sp = subprocess.Popen(['git', 'rev-parse', '--short', 'HEAD'], stdout=subprocess.PIPE, stderr=subprocess.PIPE,
 | 
					            sp = subprocess.Popen(
 | 
				
			||||||
                                  cwd=os.path.dirname(os.path.abspath(__file__)))
 | 
					                ['git', 'rev-parse', '--short', 'HEAD'],
 | 
				
			||||||
 | 
					                stdout=subprocess.PIPE, stderr=subprocess.PIPE,
 | 
				
			||||||
 | 
					                cwd=os.path.dirname(os.path.abspath(__file__)))
 | 
				
			||||||
            out, err = sp.communicate()
 | 
					            out, err = sp.communicate()
 | 
				
			||||||
            out = out.decode().strip()
 | 
					            out = out.decode().strip()
 | 
				
			||||||
            if re.match('[0-9a-f]+', out):
 | 
					            if re.match('[0-9a-f]+', out):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user