Recaptcha, Rimosso Tasto Reload

This commit is contained in:
Alhaziel01
2021-11-23 19:36:45 +01:00
parent 92be087cc4
commit cbccf06cc5
2 changed files with 9 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ CONTROL = 1
OK = 21
CANCEL = 22
RELOAD = 23
# RELOAD = 23
def get_temp():
@@ -133,9 +133,9 @@ class MultiCaptchaKodi(SolverKodi):
self.closed = True
self.close()
elif control == RELOAD:
self.closed = True
self.close()
# elif control == RELOAD:
# self.closed = True
# self.close()
elif control == OK:
self.result = [int(k) for k in range(self.num_tiles) if self.indices.get(k, False)]
@@ -183,9 +183,9 @@ class DynamicKodi(SolverKodi):
self.closed = True
self.close()
elif control == RELOAD:
self.result = None
self.close()
# elif control == RELOAD:
# self.result = None
# self.close()
elif control == OK:
self.result = self.solver.finish()

View File

@@ -214,7 +214,7 @@
<left>20</left>
<orientation>horizontal</orientation>
<control type='button' id='21'>
<width>150</width>
<width>222</width>
<height>50</height>
<onup>11</onup>
<textwidth>110</textwidth>
@@ -227,7 +227,7 @@
<label>$ADDON[plugin.video.kod 70007]</label>
</control>
<control type='button' id='22'>
<width>150</width>
<width>222</width>
<height>50</height>
<onup>11</onup>
<textwidth>110</textwidth>
@@ -239,19 +239,6 @@
<aligny>center</aligny>
<label>$ADDON[plugin.video.kod 707433]</label>
</control>
<control type='button' id='23'>
<width>150</width>
<height>50</height>
<onup>11</onup>
<textwidth>110</textwidth>
<textcolor>FFFFFFFF</textcolor>
<focusedcolor>FFFFFFFF</focusedcolor>
<texturefocus colordiffuse='FF0082C2'>white.png</texturefocus>
<texturenofocus colordiffuse='000082C2'>white.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.kod 70008]</label>
</control>
</control>
</control>
</controls>