Add an app builder

This commit is contained in:
Valentin Niess
2020-04-02 00:10:20 +02:00
parent 83ee9e5f0c
commit f23a2dc25f
10 changed files with 320 additions and 42 deletions

View File

@@ -0,0 +1,10 @@
__all__ = ['decode']
def decode(s):
'''Decode Python 3 bytes as str
'''
try:
return s.decode()
except AttributeError:
return str(s)