diff --git a/app/sql.py b/app/sql.py index 528ba41a..94f33da0 100755 --- a/app/sql.py +++ b/app/sql.py @@ -386,7 +386,7 @@ def select_user_groups_with_names(user_id, **kwargs): if kwargs.get("all") is not None: query = (UserGroups .select(UserGroups.user_group_id, UserGroups.user_id, Groups.name) - .join(Groups, on=(UserGroups.user_group_id == Groups.group_id)) ) + .join(Groups, on=(UserGroups.user_group_id == Groups.group_id))) else: query = (UserGroups .select(UserGroups.user_group_id, Groups.name) @@ -540,7 +540,6 @@ def select_servers(**kwargs): sql = """select active from servers where ip = '{}' """.format(kwargs.get("server")) try: - print(str(sql)) cursor.execute(sql) except Exception as e: out_error(e) @@ -847,7 +846,6 @@ def get_dick_permit(**kwargs): print(str(e)) print('') try: - print(str(sql)) cursor.execute(sql) except Exception as e: out_error(e)