LukeSajkowski commited on
Commit
000c97a
·
verified ·
1 Parent(s): 7b169f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def fetch_share_price(ticker:str)-> str: # it's important to specify the return
25
 
26
  # Check if data was returned
27
  if data.empty:
28
- return f"No data found for ticker {ticker}
29
 
30
  # Return the last available closing price
31
  price = data.iloc[-1]['Close']
 
25
 
26
  # Check if data was returned
27
  if data.empty:
28
+ return f"No data found for ticker {ticker}"
29
 
30
  # Return the last available closing price
31
  price = data.iloc[-1]['Close']