Skip to content

Commit

Permalink
Version check link updated
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkaashoek committed May 20, 2020
1 parent c5e523e commit fd4d0b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions TinySASaver/SweepWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def run(self):
if self.app.sweepStartInput.text() == "" or self.app.sweepEndInput.text() == "":
logger.debug("First sweep - standard range")
# We should handle the first startup by reading frequencies?
sweep_from = 100000
sweep_from = 0
sweep_to = 350000000
else:
sweep_from = RFTools.parseFrequency(self.app.sweepStartInput.text())
Expand Down Expand Up @@ -350,11 +350,11 @@ def readData(self, data):
a = d
b = 0
try:
if self.vna.validateInput and (float(a) < -9.5 or float(a) > 9.5):
if self.vna.validateInput and (float(a) < -200.0 or float(a) > 200.0):
logger.warning("Got a non-float data value: %s (%s)", d, a)
logger.debug("Re-reading %s", data)
done = False
elif self.vna.validateInput and (float(b) < -9.5 or float(b) > 9.5):
elif self.vna.validateInput and (float(b) < -200.0 or float(b) > 200.0):
logger.warning("Got a non-float data value: %s (%s)", d, b)
logger.debug("Re-reading %s", data)
done = False
Expand Down
2 changes: 1 addition & 1 deletion TinySASaver/TinySASaver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ def askAboutUpdates(self):
def findUpdates(self, automatic=False):
from urllib import request, error
import json
update_url = "http://erikkaashoek.dk/tinysa-saver/latest.json"
update_url = "http://tinysa.org/tinysa-saver/latest.json"

try:
req = request.Request(update_url)
Expand Down

0 comments on commit fd4d0b4

Please sign in to comment.