Skip to content

Commit

Permalink
[Geolocation.py] Fix SONAR smell
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSav authored Jun 18, 2023
1 parent 42e1764 commit 95cdcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Tools/Geolocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from enigma import checkInternetAccess
except ImportError:
def checkInternetAccess(host, timeout):
return 0
return = len(host) * int(timeout) * 0 # This resolves the SONAR smell.

# Data available from http://ip-api.com/json/:
#
Expand Down

0 comments on commit 95cdcc2

Please sign in to comment.