diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-16 23:04:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-16 23:04:15 +0100 |
commit | 8bb189cf5495b293cf574e5049c34a64ae36ffe1 (patch) | |
tree | 934b5a0a2cc798a19f3e5fdb9235b295ca638c16 /module/plugins/hoster | |
parent | [SkipRev] Another fix (diff) | |
download | pyload-8bb189cf5495b293cf574e5049c34a64ae36ffe1.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/UnrestrictLi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UnrestrictLi.py b/module/plugins/hoster/UnrestrictLi.py index d5c3ddc15..786e25a9a 100644 --- a/module/plugins/hoster/UnrestrictLi.py +++ b/module/plugins/hoster/UnrestrictLi.py @@ -20,7 +20,7 @@ def secondsToMidnight(gmt=0): if hasattr(td, 'total_seconds'): res = td.total_seconds() - else: + else: #@NOTE: work-around for python 2.5 and 2.6 missing timedelta.total_seconds res = (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6) / 10**6 return int(res) |