mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-15 11:18:51 +01:00
warehouse bug fix of adding URL repeatedly
This commit is contained in:
parent
58877ba643
commit
f9a62573de
@ -959,11 +959,16 @@ class GameStorePage(Page):
|
||||
self._Screen._MsgBox.SetText("Warehouse existed!")
|
||||
self._Screen._MsgBox.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
else:
|
||||
if "github.com/clockworkpi/warehouse" in inputed:
|
||||
self._Screen._MsgBox.SetText("Warehouse existed!")
|
||||
self._Screen._MsgBox.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
else:
|
||||
valid_url= self.raw_github_com(inputed)
|
||||
|
||||
if valid_url == False:
|
||||
self._Screen._MsgBox.SetText("Warehouse existed!")
|
||||
self._Screen._MsgBox.SetText("Warehouse url error!")
|
||||
self._Screen._MsgBox.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user