Compare commits

...

2 commits

Author SHA1 Message Date
49347f0230 pop if list 2025-01-06 11:48:17 +02:00
eaabdc662e don't pop 2025-01-06 11:47:55 +02:00

View file

@ -78,6 +78,7 @@ class GetYoutubeVideos:
def _change_proxy(self, video_id):
if len(self.config['proxy']) > 0:
if isinstance(self.config['proxy'], list):
self.config['proxy'].pop(self.proxy_index)
if self.proxy_index<len(self.config['proxy'])-1:
self.selected_proxy = self.config['proxy'][self.proxy_index]