changes Sammlung to collection
This commit is contained in:
@@ -87,7 +87,7 @@ class Werk_unter_id:
|
||||
WHERE id = {werk_id}
|
||||
"""
|
||||
werk_list_val = self.reader.execute(sql_wui).fetchone()
|
||||
werk_list_att = ('id', 'comp_id', 'year', 'opus', 'Sammlung', 'Haupttonart', 'Titel', 'Satztitel', 'Aliasname', 'Werkverzeichnis', 'Werkverzeichnisnummer')
|
||||
werk_list_att = ('id', 'comp_id', 'year', 'opus', 'collection', 'Haupttonart', 'Titel', 'Satztitel', 'Aliasname', 'Werkverzeichnis', 'Werkverzeichnisnummer')
|
||||
for tup in zip(werk_list_att, werk_list_val):
|
||||
self.values[tup[0]] = tup[1]
|
||||
|
||||
@@ -121,7 +121,7 @@ class Werk_unter_id:
|
||||
self.sätze_unter_nummer = False
|
||||
|
||||
def sammlung(self):
|
||||
sammlung = self.values['Sammlung']
|
||||
sammlung = self.values['collection']
|
||||
if not sammlung:
|
||||
return 'ohne'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user