Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config conversion in image cog #3617

Merged
merged 1 commit into from Feb 28, 2020

Conversation

Jackenmen
Copy link
Member

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Fixes this error during conversion from pre-3.1 releases:

[2020-02-27 20:50:52] [ERROR] red: Package loading failed
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/redbot/core/core_commands.py", line 114, in _load
    await bot.load_extension(spec)
  File "/usr/local/lib/python3.8/dist-packages/redbot/core/bot.py", line 870, in load_extension
    await lib.setup(self)
  File "/usr/local/lib/python3.8/dist-packages/redbot/cogs/image/init.py", line 6, in setup
    await cog.initialize()
  File "/usr/local/lib/python3.8/dist-packages/redbot/cogs/image/image.py", line 33, in initialize
    await self.bot.set_shared_api_tokens(client_id=imgur_token)
TypeError: set_shared_api_tokens() missing 1 required positional argument: 'service_name'

@Kowlin Kowlin merged commit 0ff000d into Cog-Creators:V3/develop Feb 28, 2020
@Jackenmen Jackenmen deleted the jack1142-patch-6 branch February 28, 2020 20:50
@Jackenmen Jackenmen added the Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. label Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants