This commit is contained in:
bkfox
2015-10-03 14:58:44 +02:00
parent f9d2d47ee6
commit 1a5dcc3eb9
45 changed files with 380 additions and 321 deletions

6
aircox_programs/utils.py Normal file
View File

@ -0,0 +1,6 @@
def ensure_list (value):
if type(value) in (list, set, tuple):
return value
return [value]