Skip to content

Commit 377d166

Browse files
authored
fix: Update __init__.py
1 parent abd7a41 commit 377d166

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

revengai/features/configuration/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def get_config(self):
2626
return self.config
2727

2828
def _register_binary_view_event(self):
29-
BinaryViewType.add_binaryview_finalized_event(self._add_binaryview_finalized_event) # TODO: Use binaryview_finalized_event instead, but without load 3 times
30-
# TODO: Nao usar binaryview_finalized_event para checkar creds, resulta em comandos nao carregando.q
29+
BinaryViewType.add_binaryview_finalized_event(self._add_binaryview_finalized_event)
3130
log_info("RevEng.AI | Registered binary view event handler")
3231

3332
def _add_binaryview_finalized_event(self, bv):
@@ -44,11 +43,11 @@ def _add_binaryview_finalized_event(self, bv):
4443
None,
4544
"RevEng.AI - Binary Not Found",
4645
"This binary has not been processed in the RevEng.AI platform yet.\n\n"
47-
"Please upload and process the binary first using the 'RevEng.AI > Upload Binary' option "
46+
"Please upload and process the binary first using the 'RevEng.AI > Process Binary' option "
4847
"before using other RevEng.AI features.",
4948
QMessageBox.Ok
5049
)
5150
else:
5251
log_error(f"RevEng.AI | Configuration initialization failed: {message}")
5352
except Exception as e:
54-
log_error(f"RevEng.AI | Error in binary view event handler: {str(e)}")
53+
log_error(f"RevEng.AI | Error in binary view event handler: {str(e)}")

0 commit comments

Comments
 (0)