reversed D:/

This commit is contained in:
sebastien durand
2025-07-25 14:42:31 +01:00
parent 8d8b80a776
commit cfbc9a0e44

View File

@@ -54,7 +54,7 @@ def get_stream_url(station_id):
def m3u(stations):
f = open('d:/radio.m3u','a', encoding='utf-8')
f = open('radio.m3u','a', encoding='utf-8')
# if the file is empty, write the header
if os.path.getsize("radio.m3u") == 0:
@@ -68,7 +68,7 @@ def m3u(stations):
f.close()
def main():
open('d:/radio.m3u', 'w').close()
open('radio.m3u', 'w').close()
if not args.state:
places = get_places()
for place in places: