mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
6f501504cf
commit
9df1ed9cd1
1 changed files with 6 additions and 7 deletions
|
|
@ -1328,7 +1328,7 @@ class PluginManager:
|
||||||
self._changelog = response.read().decode()
|
self._changelog = response.read().decode()
|
||||||
return self._changelog
|
return self._changelog
|
||||||
|
|
||||||
async def setup_changelog(self, version = None) -> None:
|
async def setup_changelog(self, version=None) -> None:
|
||||||
if version is None:
|
if version is None:
|
||||||
version = PLUGIN_MANAGER_VERSION
|
version = PLUGIN_MANAGER_VERSION
|
||||||
while self._changelog_setup_in_progress:
|
while self._changelog_setup_in_progress:
|
||||||
|
|
@ -1347,7 +1347,6 @@ class PluginManager:
|
||||||
print(changelog)
|
print(changelog)
|
||||||
self._changelog_setup_in_progress = False
|
self._changelog_setup_in_progress = False
|
||||||
|
|
||||||
|
|
||||||
async def setup_plugin_categories(self, plugin_index):
|
async def setup_plugin_categories(self, plugin_index):
|
||||||
# A hack to have the "All" category show at the top.
|
# A hack to have the "All" category show at the top.
|
||||||
self.categories["All"] = None
|
self.categories["All"] = None
|
||||||
|
|
@ -1395,7 +1394,7 @@ class PluginManager:
|
||||||
def set_index_global_cache(self, index):
|
def set_index_global_cache(self, index):
|
||||||
_CACHE["index"] = index
|
_CACHE["index"] = index
|
||||||
|
|
||||||
def set_changelog_global_cache(self,changelog):
|
def set_changelog_global_cache(self, changelog):
|
||||||
_CACHE["changelog"] = changelog
|
_CACHE["changelog"] = changelog
|
||||||
|
|
||||||
def unset_index_global_cache(self):
|
def unset_index_global_cache(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue