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
+7 -7
View File
@@ -27,7 +27,7 @@ CONTROL = 1
OK = 21 OK = 21
CANCEL = 22 CANCEL = 22
RELOAD = 23 # RELOAD = 23
def get_temp(): def get_temp():
@@ -133,9 +133,9 @@ class MultiCaptchaKodi(SolverKodi):
self.closed = True self.closed = True
self.close() self.close()
elif control == RELOAD: # elif control == RELOAD:
self.closed = True # self.closed = True
self.close() # self.close()
elif control == OK: elif control == OK:
self.result = [int(k) for k in range(self.num_tiles) if self.indices.get(k, False)] 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.closed = True
self.close() self.close()
elif control == RELOAD: # elif control == RELOAD:
self.result = None # self.result = None
self.close() # self.close()
elif control == OK: elif control == OK:
self.result = self.solver.finish() self.result = self.solver.finish()
+2 -15
View File
@@ -214,7 +214,7 @@
<left>20</left> <left>20</left>
<orientation>horizontal</orientation> <orientation>horizontal</orientation>
<control type='button' id='21'> <control type='button' id='21'>
<width>150</width> <width>222</width>
<height>50</height> <height>50</height>
<onup>11</onup> <onup>11</onup>
<textwidth>110</textwidth> <textwidth>110</textwidth>
@@ -227,7 +227,7 @@
<label>$ADDON[plugin.video.kod 70007]</label> <label>$ADDON[plugin.video.kod 70007]</label>
</control> </control>
<control type='button' id='22'> <control type='button' id='22'>
<width>150</width> <width>222</width>
<height>50</height> <height>50</height>
<onup>11</onup> <onup>11</onup>
<textwidth>110</textwidth> <textwidth>110</textwidth>
@@ -239,19 +239,6 @@
<aligny>center</aligny> <aligny>center</aligny>
<label>$ADDON[plugin.video.kod 707433]</label> <label>$ADDON[plugin.video.kod 707433]</label>
</control> </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>
</control> </control>
</controls> </controls>