Browse Source

Removing some debug strings

master
Rick 5 years ago
parent
commit
ebdd8f613e
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      admidio.py
  2. +0
    -1
      group.py
  3. +2
    -0
      main.py

+ 1
- 0
admidio.py View File

@ -24,6 +24,7 @@ class Admidio:
# Get the id for event confirmation role.
# So it can exclude them from Groups
sql = """SELECT cat_id
FROM adm_categories
WHERE cat_name_intern = 'CONFIRMATION_OF_PARTICIPATION'"""


+ 0
- 1
group.py View File

@ -14,7 +14,6 @@ class Group:
self.__c.execute(sql)
for row in self.__c.fetchall():
print(row)
try:
if row[1] == 1:
self.leaders.append(admidio.getMemberFromID(row[0]))


+ 2
- 0
main.py View File

@ -4,3 +4,5 @@ import config
adm = Admidio(
config.DATABASE['host'], config.DATABASE['user'], config.DATABASE['pass'],
config.DATABASE['db'])
print()

Loading…
Cancel
Save