From 7d6bd0630e0ff22a1fcf306475a5ba52d68eebc1 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Sat, 5 Feb 2022 13:41:57 +0100 Subject: [PATCH] Fixes in sendmail and admin.css --- paramecio2/libraries/sendmail.py | 4 ++-- paramecio2/modules/admin/media/css/admin.css | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/paramecio2/libraries/sendmail.py b/paramecio2/libraries/sendmail.py index 84f7374..f946339 100644 --- a/paramecio2/libraries/sendmail.py +++ b/paramecio2/libraries/sendmail.py @@ -79,9 +79,9 @@ class SendMail: return False - except smtplib.SMTPAuthenticationError: + except smtplib.SMTPAuthenticationError as eauth: - self.txt_error='Error: cannot login. Wrong username or password' + self.txt_error='Error: cannot login. Wrong username or password '+eauth.__str__() return False diff --git a/paramecio2/modules/admin/media/css/admin.css b/paramecio2/modules/admin/media/css/admin.css index ac81aaa..8b610f4 100644 --- a/paramecio2/modules/admin/media/css/admin.css +++ b/paramecio2/modules/admin/media/css/admin.css @@ -589,7 +589,7 @@ a:hover.no_choose_flag } -#center_body input[type="submit"], #center_body input[type="button"] +#center_body input[type="submit"], #center_body input[type="button"], #center_body input[type="button"].button_blue { font-family: helvetica, arial,sans; @@ -611,7 +611,7 @@ a:hover.no_choose_flag } -#center_body input:hover[type="submit"] +#center_body input:hover[type="submit"], #center_body input[type="button"].button_blue { background: #104070; diff --git a/setup.py b/setup.py index 982bdd9..afec1c5 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ if sys.version_info < (3, 5): # If you install passlib and bcrypt, the password system will use bcrypt by default, if not, will use native crypt libc setup(name='paramecio2', - version='2.0.16', + version='2.0.17', description='Simple Web Framework based in flask and Mako.', long_description='This framework is a simple framework used for create web apps. Paramecio is modular and fast. By default have a module called admin that can be used for create admin sites', author='Antonio de la Rosa Caballero',