2022-11-27 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'pypad-icecast2' plug-in threw a stack
	dump when attempting to print an error message.
	* Fixed a regression in the 'pypad-tunein' plug-in threw a stack
	dump when attempting to print an error message.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-11-27 15:06:09 -05:00
parent 3f08f96299
commit aa74b0b9a0
3 changed files with 11 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ except ModuleNotFoundError:
import pypad # Rivendell v3.x style
import configparser
def eprint(*args,**kwargs):
print(*args,file=sys.stderr,**kwargs)
def ProcessPad(update):
if update.hasPadType(pypad.TYPE_NOW):
n=1

View File

@@ -32,6 +32,9 @@ except ModuleNotFoundError:
import pypad # Rivendell v3.x style
import configparser
def eprint(*args,**kwargs):
print(*args,file=sys.stderr,**kwargs)
def ProcessPad(update):
if update.hasPadType(pypad.TYPE_NOW):
n=1