From 32a88f994583a8b02aaf56ba580594def014b054 Mon Sep 17 00:00:00 2001 From: Pecusx Date: Mon, 23 Jan 2017 21:20:40 +0100 Subject: [PATCH] Flush unused variables. --- radio4.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radio4.py b/radio4.py index a65ae0f..32d3fcd 100755 --- a/radio4.py +++ b/radio4.py @@ -48,9 +48,9 @@ from config_class import Configuration # for configuration read (Pecus) UP = 0 DOWN = 1 -CurrentStationFile = "/var/lib/radiod/current_station" -CurrentTrackFile = "/var/lib/radiod/current_track" -CurrentFile = CurrentStationFile +#CurrentStationFile = "/var/lib/radiod/current_station" +#CurrentTrackFile = "/var/lib/radiod/current_track" +#CurrentFile = CurrentStationFile PlaylistsDirectory = "/var/lib/mpd/playlists/" log = Log() @@ -79,7 +79,7 @@ def signalHandler(signal,frame): class MyDaemon(Daemon): def run(self): - global CurrentFile + #global CurrentFile GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers GPIO.setwarnings(False) # Ignore warnings