spookyuser
commited on
Commit
•
d818889
1
Parent(s):
df17a93
Very stupid
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ class SpotifyApi:
|
|
27 |
if not os.path.exists("spotify.rc"):
|
28 |
with open("spotify.rc", "w") as f:
|
29 |
f.write(
|
30 |
-
f"
|
31 |
)
|
32 |
subprocess.call(["spodcast", "-l", "spotify.rc"])
|
33 |
else:
|
|
|
27 |
if not os.path.exists("spotify.rc"):
|
28 |
with open("spotify.rc", "w") as f:
|
29 |
f.write(
|
30 |
+
f"{os.environ['SPOTIFY_USERNAME']} {os.environ['SPOTIFY_PASSWORD']}"
|
31 |
)
|
32 |
subprocess.call(["spodcast", "-l", "spotify.rc"])
|
33 |
else:
|