Skip to content

Commit 252a6a4

Browse files
authored
Update main.py
As i was trying to run the script it raised the error. Traceback (most recent call last): File "c:/Users/zedthecode/Desktop/zedlab/gui/tube.py", line 13, in <module> if a == "shutdown": NameError: name 'a' is not defined
1 parent 3186b4a commit 252a6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Youtube Downloader With GUI/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
file_size = 0
1111

1212
q= input("")
13-
if a == "shutdown":
13+
if q == "shutdown":
1414
os.system("shutdown -s")
1515
#function progress to keep check of progress of function.
1616
def progress(stream=None, chunk=None, remaining=None):

0 commit comments

Comments
 (0)