SamiKoen commited on
Commit
3d56938
·
verified ·
1 Parent(s): 28c2283

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,9 +45,9 @@ products = []
45
  if root is not None:
46
  for item in root.findall('item'):
47
  # Tüm ürünleri al, sonra stokta olma durumunu kontrol et
48
- name_words = item.find('rootlabel').text.lower().split()
49
- name = name_words[0]
50
- full_name = ' '.join(name_words)
51
 
52
  stock_amount = "stokta" if item.find('stockAmount').text > '0' else "stokta değil"
53
 
 
45
  if root is not None:
46
  for item in root.findall('item'):
47
  # Tüm ürünleri al, sonra stokta olma durumunu kontrol et
48
+ name_words = item.find('rootlabel').text.lower().split()
49
+ name = name_words[0]
50
+ full_name = ' '.join(name_words)
51
 
52
  stock_amount = "stokta" if item.find('stockAmount').text > '0' else "stokta değil"
53