]>
git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - www/pages/torrent/client/clock.py
1 # Written by John Hoffman
2 # see LICENSE.txt for license information
16 t
= time() + self
.offset
17 if t
< self
.time
or t
> self
.time
+ _MAXFORWARD
:
19 self
.offset
+= self
.time
- t
24 if sys
.platform
!= 'win32':
25 _RTIME
= RelativeTime()
27 return _RTIME
.get_time()