Skip to content

Commit

Permalink
Fix "error: unrecognized arguments"
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Jun 14, 2022
1 parent ac68fcf commit ea1779a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/run_tribler.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def init_boot_logger():
if __name__ == "__main__":
init_boot_logger()
init_sentry_reporter()

parsed_args = RunTriblerArgsParser().parse_args()
parsed_args, _ = RunTriblerArgsParser().parse_known_args()
logger.info(f'Run Tribler: {parsed_args}')

# Get root state directory (e.g. from environment variable or from system default)
Expand Down

0 comments on commit ea1779a

Please sign in to comment.