|
|
@ -1,8 +1,8 @@ |
|
|
|
import MySQLdb |
|
|
|
import member |
|
|
|
import group |
|
|
|
import event |
|
|
|
from exceptions import MemberNotFoundException |
|
|
|
import admidio_python_api.member as member |
|
|
|
import admidio_python_api.group as group |
|
|
|
import admidio_python_api.event as event |
|
|
|
from admidio_python_api.exceptions import MemberNotFoundException |
|
|
|
from datetime import datetime |
|
|
|
from dateutil.relativedelta import relativedelta |
|
|
|
|
|
|
@ -29,7 +29,7 @@ class Admidio: |
|
|
|
|
|
|
|
sql = f"""SELECT cat_id |
|
|
|
FROM {self.prefix}_categories |
|
|
|
WHERE cat_name_intern = 'CONFIRMATION_OF_PARTICIPATION'""" |
|
|
|
WHERE cat_name_intern = 'EVENTS'""" |
|
|
|
self.cursor.execute(sql) |
|
|
|
self.event_confirmation_id = self.cursor.fetchone()[0] |
|
|
|
|
|
|
|