fix two missing arguments, fixing reordering of newly installed plugins (#412)

This commit is contained in:
AAGaming
2023-04-04 18:52:32 +00:00
committed by GitHub
parent ee5ed3faf0
commit 7d2cff8745
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class Tab:
"method": "Page.disable",
}, False)
async def refresh(self):
async def refresh(self, manage_socket=True):
try:
if manage_socket:
await self.open_websocket()
+1 -1
View File
@@ -52,7 +52,7 @@ class SettingsManager:
with open(self.path, "w+", encoding="utf-8") as file:
dump(self.settings, file, indent=4, ensure_ascii=False)
def getSetting(self, key, default):
def getSetting(self, key, default=None):
return self.settings.get(key, default)
def setSetting(self, key, value):
+1 -1
View File
@@ -42,7 +42,7 @@
}
},
"dependencies": {
"decky-frontend-lib": "^3.20.0",
"decky-frontend-lib": "^3.20.4",
"react-file-icon": "^1.3.0",
"react-icons": "^4.8.0",
"react-markdown": "^8.0.6",
+4 -4
View File
@@ -2,8 +2,8 @@ lockfileVersion: '6.0'
dependencies:
decky-frontend-lib:
specifier: ^3.20.0
version: 3.20.0
specifier: ^3.20.4
version: 3.20.4
react-file-icon:
specifier: ^1.3.0
version: 1.3.0(react-dom@16.14.0)(react@16.14.0)
@@ -1007,8 +1007,8 @@ packages:
dependencies:
ms: 2.1.2
/decky-frontend-lib@3.20.0:
resolution: {integrity: sha512-AOlALWiOGxVVOuXiPpTOZsunvZdnqldiVpaoFpzAsNb9F65/mtD0zKeyY69IwSEU08iXDr9Sw/HBRserxg6UWg==}
/decky-frontend-lib@3.20.4:
resolution: {integrity: sha512-DJgVonmk3lmRc/9w2FM/CE2WXlsl2E9bbEYl9FMtiptQmMJCkrBqoQM49J4QpEYdn9akHYYw/wcGa56/zJupOw==}
dev: false
/decode-named-character-reference@1.0.2: