eolisation
This commit is contained in:
11
creole/eos-getBool.py
Normal file
11
creole/eos-getBool.py
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
def getBool(var):
|
||||
try:
|
||||
if var == "oui":
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
|
||||
except:
|
||||
return "error fonction getBool"
|
Reference in New Issue
Block a user