X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/a0d107bea4cae7a10895679d75a16f209b220b64..606019a00431114a45885c910f86ed74b2513e14:/src/sc_dbq?ds=sidebyside diff --git a/src/sc_dbq b/src/sc_dbq index 5d016de..1c90a3f 100755 --- a/src/sc_dbq +++ b/src/sc_dbq @@ -9,7 +9,7 @@ import sys import sqlobject # Módulos locales import sercom -from sercom.dbo import * +from sercom.sqlo import * def ayuda(): return '''Uso: @@ -20,6 +20,8 @@ def args2dict(l, conn): for arg in l: key, val = arg.split('=') if val == 'None': val = None + if val == 'True': val = True + if val == 'False': val = False d[key] = val return d