Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24df645

Browse files
committed
Fix: F824 'global w' is unused: name is never assigned in scope
1 parent be6c7aa commit 24df645

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

skip.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def winamp_now_playing():
1515
If not Windows, return None.
1616
If Windows, return BBC station Winamp is now playing or None.
1717
"""
18-
global w
1918
station = None
2019
if _platform != "win32":
2120
return None
@@ -107,7 +106,6 @@ def itunes_play():
107106

108107

109108
def media_player_stop():
110-
global w
111109
if _platform == "darwin":
112110
return itunes_stop()
113111
elif _platform == "win32":
@@ -117,7 +115,6 @@ def media_player_stop():
117115

118116

119117
def media_player_play():
120-
global w
121118
if _platform == "darwin":
122119
return itunes_play()
123120
elif _platform == "win32":

0 commit comments

Comments
 (0)