Таймер неверно опрашивался
parent
04e63d29a0
commit
0e81ccf6bc
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="script.module.pyrrent2http" name="pyrrent2http" version="0.9.7" provider-name="inpos">
|
<addon id="script.module.pyrrent2http" name="pyrrent2http" version="0.9.8" provider-name="inpos">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.14.0"/>
|
<import addon="xbmc.python" version="2.14.0"/>
|
||||||
<import addon="script.module.libtorrent" />
|
<import addon="script.module.libtorrent" />
|
||||||
|
|
|
@ -115,7 +115,7 @@ class Ticker(object):
|
||||||
self.interval = interval
|
self.interval = interval
|
||||||
self.is_running = False
|
self.is_running = False
|
||||||
self.start()
|
self.start()
|
||||||
|
@property
|
||||||
def true(self):
|
def true(self):
|
||||||
if self.tick:
|
if self.tick:
|
||||||
self.tick = False
|
self.tick = False
|
||||||
|
|
Loading…
Reference in New Issue