Skip to content

Commit 927d0a1

Browse files
authored
Merge pull request #19 from jiribrejcha/dev
Public IP Address reliability fix
2 parents 2aaa443 + 9054b77 commit 927d0a1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

BakeBit/Software/Python/modules/network.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,5 +409,4 @@ def show_publicip(self, g_vars):
409409
return
410410

411411
self.paged_table_obj.display_list_as_paged_table(g_vars, choppedoutput, back_button_req=1, title=' --Public IP--')
412-
413-
#time.sleep(0.5)
412+
time.sleep(0.5)

BakeBit/Software/Python/scripts/networkinfo/publicip.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Shows public IP address and related details
33

44
#Get all data in JSON format
5-
DATAINJSON=$(timeout 2 curl -s 'ifconfig.co/json')
5+
DATAINJSON=$(timeout 3 curl -s 'ifconfig.co/json')
66

77
if [ ! "$DATAINJSON" ]; then
88
echo "No public IP address detected"

0 commit comments

Comments
 (0)