From: achbed Date: Wed, 19 Nov 2014 17:03:04 +0000 (-0600) Subject: tab to space (for indent issues) X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b4072eb514d71eed345c6d96b19d2c87a47b1e09;p=deefuzzer.git tab to space (for indent issues) Signed-off-by: achbed --- diff --git a/deefuzzer/station.py b/deefuzzer/station.py index 1b04c8b..abc10a0 100644 --- a/deefuzzer/station.py +++ b/deefuzzer/station.py @@ -72,7 +72,7 @@ class Station(Thread): record_mode = 0 run_mode = 1 station_dir = None - appendtype = 1 + appendtype = 1 def __init__(self, station, q, logger, m3u): Thread.__init__(self) @@ -120,8 +120,8 @@ class Station(Thread): elif 'icecast' in self.type: self.channel = shout.Shout() self.channel.mount = '/' + self.mountpoint - if self.appendtype: - self.channel.mount = self.channel.mount + '.' + self.media_format + if self.appendtype: + self.channel.mount = self.channel.mount + '.' + self.media_format else: sys.exit('Not a compatible server type. Choose "stream-m" or "icecast".') diff --git a/example/deefuzzer.json b/example/deefuzzer.json index caca5f6..4695b5e 100644 --- a/example/deefuzzer.json +++ b/example/deefuzzer.json @@ -50,7 +50,7 @@ "public": 0, "sourcepassword": "icecast_source_password", "type": "icecast", - "appendtype": 1 + "appendtype": 1 }, "twitter": { "key": "you access token key", diff --git a/example/deefuzzer.xml b/example/deefuzzer.xml index 9db8985..e482e72 100644 --- a/example/deefuzzer.xml +++ b/example/deefuzzer.xml @@ -49,7 +49,7 @@ 0 icecast_source_password icecast - 1 + 1 your access token key diff --git a/example/deefuzzer_doc.xml b/example/deefuzzer_doc.xml index cc7190c..4bc8253 100644 --- a/example/deefuzzer_doc.xml +++ b/example/deefuzzer_doc.xml @@ -94,9 +94,9 @@ icecast_source_password icecast - - 1 + + 1