Skip to content

Commit

Permalink
paste url validator
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailCosmin committed Nov 10, 2022
1 parent cc561d6 commit c3886f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/left.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _queue_right_click_menu(self, pos):
for url in findall(single_url_regex, paste, V1):
if "http" in url and "youtube" in url:
self._add_current_url_to_queue(url)
elif "http" in url and "youtube" in url:
elif "http" in paste and "youtube" in paste:
self._add_current_url_to_queue(paste)

def _add_current_url_to_queue(self, url: str = None):
Expand Down

0 comments on commit c3886f9

Please sign in to comment.