kopia lustrzana https://github.com/ytdl-org/youtube-dl
				
				
				
			[JSInterp] Temporary fix for #33102
							rodzic
							
								
									4e714f9df1
								
							
						
					
					
						commit
						3eb8d22ddb
					
				|  | @ -686,6 +686,8 @@ class JSInterpreter(object): | |||
|             raise self.Exception('Cannot get index {idx!r:.100}'.format(**locals()), expr=repr(obj), cause=e) | ||||
| 
 | ||||
|     def _dump(self, obj, namespace): | ||||
|         if obj is JS_Undefined: | ||||
|             return 'undefined' | ||||
|         try: | ||||
|             return json.dumps(obj) | ||||
|         except TypeError: | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 dirkf
						dirkf