X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/8d9dafb4a8ff1f15bf9440c9709c88fb2983cb11..44941ea0c8336d1b0241fc3e09051ef5fe25b1c8:/src/sc_dbq?ds=inline diff --git a/src/sc_dbq b/src/sc_dbq index 5ce3374..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.sqlobject 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