X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=play-sound-status.py;fp=play-sound-status.py;h=2c30122b2dacee2d806ad2a223e00f8508c14e32;hb=df4d8e39e6182abf7a7b983e4db458420f5a091c;hp=6daf67c6f84bd7594a54effd1bb92d963acc9333;hpb=2d0afaf84348f60b747bddf16e42d9dc0d134321;p=svn42.git diff --git a/play-sound-status.py b/play-sound-status.py index 6daf67c..2c30122 100755 --- a/play-sound-status.py +++ b/play-sound-status.py @@ -151,7 +151,7 @@ class UWSConfig: def runRandomAction(action_list,user,args=[]): - if not type(action_list) == types.ListType): + if not type(action_list) == types.ListType: raise ValueError("runRandomAction: action_list must be a list") return executeAction(random.choice(action_list),user,args)