Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
secondfry committed May 10, 2018
2 parents e8fd949 + 0f62391 commit 6b26d4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/shortcircuit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@


__appname__ = "Short Circuit"
__version__ = "v0.2.1-beta"
__version__ = "v0.2.2-beta"
2 changes: 1 addition & 1 deletion src/shortcircuit/model/evescout.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, eve_db, url="https://www.eve-scout.com/api/wormholes"):
def augment_map(self, solar_map):
connections = -1
headers = {
"User-Agent": "Short Circuit v0.2.1-beta"
"User-Agent": "Short Circuit v0.2.2-beta"
}
try:
result = requests.get(
Expand Down
4 changes: 2 additions & 2 deletions src/shortcircuit/model/tripwire.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Tripwire:
"""
Tripwire handler
"""
USER_AGENT = "Short Circuit v0.2.1-beta"
USER_AGENT = "Short Circuit v0.2.2-beta"

def __init__(self, eve_db, username, password, url):
self.eve_db = eve_db
Expand Down Expand Up @@ -112,7 +112,7 @@ def augment_map(self, solar_map):
systemFrom = convert_to_int(signatureIn['systemID'])
systemTo = convert_to_int(signatureOut['systemID'])

if systemFrom == 0 or systemTo == 0:
if systemFrom == 0 or systemFrom < 10000 or systemTo == 0 or systemTo < 10000:
continue

connections += 1
Expand Down

0 comments on commit 6b26d4f

Please sign in to comment.