Skip to content

Commit 718e0e9

Browse files
committed
ref: rename 'ai' to 'db' in private code in main.py
1 parent f7e2ded commit 718e0e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dcoraid/gui/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ def on_refresh_private_data(self):
239239
data = DBExtract()
240240
if api.is_available() and api.api_key:
241241
try:
242-
ai = APIInterrogator(api=api)
242+
db = APIInterrogator(api=api)
243243
if self.checkBox_user_following.isChecked():
244-
data += ai.get_datasets_user_following()
244+
data += db.get_datasets_user_following()
245245
if self.checkBox_user_owned.isChecked():
246-
data += ai.get_datasets_user_owned()
246+
data += db.get_datasets_user_owned()
247247
if self.checkBox_user_shared.isChecked():
248-
data += ai.get_datasets_user_shared()
248+
data += db.get_datasets_user_shared()
249249
self.user_filter_chain.set_db_extract(data)
250250
except ConnectionTimeoutErrors:
251251
self.logger.error(tb.format_exc())

0 commit comments

Comments
 (0)