diff --git a/app.py b/app.py index f6c0d2c..4929a11 100644 --- a/app.py +++ b/app.py @@ -2,15 +2,6 @@ import streamlit as st import database as db -class Creature: - def __init__(self, name, nickname, power, max_spawns, hits_to_kill): - self.name = name - self.nickname = nickname - self.power = power - self.max_spawns = max_spawns - self.hits_to_kill = hits_to_kill - - class Run: def __init__(self, moon): self.moon = moon @@ -50,7 +41,7 @@ def main(): st.markdown('## Scrap Lookup') scrap_name = st.selectbox( - 'Scrap Name', + 'Scrap', db.get_scrap_list(), placeholder='Select a scrap name!' ) diff --git a/database/database.py b/database/database.py index 58b72bd..ee988f0 100644 --- a/database/database.py +++ b/database/database.py @@ -107,7 +107,8 @@ from moon as m join main.layout l on l.layout_id = m.default_layout_id join main.moon_tier mt on mt.moon_tier_id = m.moon_tier_id where m.moon_id = ? -limit 1;""" +limit 1; +""" moon = cursor.execute( query,