GuglielmoTor commited on
Commit
572271b
·
verified ·
1 Parent(s): e0f2ba1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -86,11 +86,11 @@ def process_and_store_bubble_token(url_user_token, org_urn, token_state):
86
  logging.info(f"df {len(bubble_posts_df)}")
87
 
88
  if bubble_posts_df is not None and not new_state["bubble_posts_df"].empty:
89
- logging.info(f"✅ Successfully fetched {len(bubble_posts_df)} posts from Bubble. Sync button will be enabled.")
90
  button_visible = False
91
  button_interactive = False
92
  else:
93
- logging.info("ℹ️ No posts found in Bubble for this organization or DataFrame is empty. Sync button will remain visible.")
94
  # button_visible and button_interactive remain False
95
  except Exception as e:
96
  logging.error(f"❌ Error fetching posts from Bubble: {e}")
 
86
  logging.info(f"df {len(bubble_posts_df)}")
87
 
88
  if bubble_posts_df is not None and not new_state["bubble_posts_df"].empty:
89
+ logging.info(f"✅ Successfully fetched {len(bubble_posts_df)} posts from Bubble. Sync button will be disabled.")
90
  button_visible = False
91
  button_interactive = False
92
  else:
93
+ logging.info("ℹ️ No posts found in Bubble for this organization or DataFrame is empty. Sync button will get visible.")
94
  # button_visible and button_interactive remain False
95
  except Exception as e:
96
  logging.error(f"❌ Error fetching posts from Bubble: {e}")