Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Advance Youtube Downloader/yt-downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
from pytube import Playlist
from tkinter.ttk import Progressbar
from tkinter.scrolledtext import ScrolledText

import os
# ===========================================================

youtubeLogo = os.path.join(os.getcwd(), "Advance Youtube Downloader\youtube.png")
class YoutubeDownloader():

# ========== Video Path ===================
Expand Down Expand Up @@ -203,7 +203,7 @@ def __init__(self):
self.design3 = Label(self.root,bg="red",width=3,height=6)
self.design3.place(x=242,y=90)

self.yt_icon = ImageTk.PhotoImage(Image.open('youtube.png'))
self.yt_icon = ImageTk.PhotoImage(Image.open(youtubeLogo, mode="r"))
self.logo = Label(self.root,image=self.yt_icon,bg="white")
self.logo.place(x=220,y=70)

Expand Down