Bugfix for timeout to 10 minutes. Set it to 10s earlier
This commit is contained in:
parent
2401b73315
commit
6ac71fe792
|
@ -115,7 +115,7 @@ class HackerNewsApp:
|
|||
self.addItem(i)
|
||||
#Call every 5 minutes
|
||||
if no_timer==False:
|
||||
gtk.timeout_add(10*1000, self.refresh)
|
||||
gtk.timeout_add(10*60*1000, self.refresh)
|
||||
|
||||
def main():
|
||||
indicator = HackerNewsApp()
|
||||
|
|
|
@ -20,6 +20,4 @@ class HackerNews:
|
|||
try:
|
||||
return r.json()
|
||||
except ValueError:
|
||||
continue;
|
||||
finally:
|
||||
print i
|
||||
continue;
|
2
setup.py
2
setup.py
|
@ -1,7 +1,7 @@
|
|||
from setuptools import setup
|
||||
|
||||
setup(name='hackertray',
|
||||
version='1.8',
|
||||
version='1.8.1',
|
||||
description='Hacker News app that sits in your System Tray',
|
||||
long_description='HackerTray is a simple Hacker News Linux application that lets you view top HN stories in your System Tray. It relies on appindicator, so it is not guaranteed to work on all systems. It also provides a Gtk StatusIcon fallback in case AppIndicator is not available.',
|
||||
keywords='hacker news hn tray system tray icon hackertray',
|
||||
|
|
Loading…
Reference in New Issue