summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Briza <mbriza@redhat.com>2016-06-21 17:23:30 +0200
committerMartin Briza <mbriza@redhat.com>2016-06-21 17:23:30 +0200
commitc725ae82a4e79f5aa855b233cce835f47ec09703 (patch)
tree0f680364e40565db3fc1d9c87d667c8ec57eb4c0
parent4082cae55c30263247cbe6314ea0161a264d067c (diff)
Don't update the releases before October3.95.1
-rwxr-xr-xliveusb/gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/liveusb/gui.py b/liveusb/gui.py
index b282252..8e86d31 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -704,7 +704,8 @@ class LiveUSBData(QObject):
self.updateThread.finished.connect(self.fillReleases)
self.updateThread.finished.connect(self.updateThreadStopped)
- QTimer.singleShot(0, self.updateThread.start)
+ if datetime.today().year >= 2016 and datetime.today().month > 9:
+ QTimer.singleShot(0, self.updateThread.start)
@pyqtSlot()
def fillReleases(self):