Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Jan 27, 2025
1 parent 9ae290a commit a86e8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/su_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ async def _(msg: Bot.MessageSession):
write_version_cache(msg)
if Info.version:
pull_repo_result = pull_repo()
if pull_repo_result != '':
if pull_repo_result:
await msg.send_message(pull_repo_result)
else:
Logger.warning('Failed to get Git repository result.')
Expand Down

0 comments on commit a86e8e4

Please sign in to comment.