Skip to content

Commit

Permalink
Patched assertInternetConnected for silent context (now writing to er…
Browse files Browse the repository at this point in the history
…ror file, and the error being detected in the silent wrapper).
  • Loading branch information
BuvinJ committed Jan 13, 2021
1 parent 823ade3 commit 6cb235a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distbuilder/qt_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,8 @@ def _genLib( self ):
# TODO: Test in NIX/MAC
'function assertInternetConnected( isRefresh, errMsg ) ' + SBLK +
TAB + 'if( !isInternetConnected( isRefresh ) )' + NEW +
(2*TAB) + 'quit( errMsg ? errMsg : "An internet connection is required!" )' + END +
(2*TAB) + 'quit( errMsg ? errMsg : ' +
'"An internet connection is required!", true )' + END +
EBLK + NEW +
# TODO: Test in NIX/MAC
'function isInternetConnected( isRefresh ) ' + SBLK +
Expand Down

0 comments on commit 6cb235a

Please sign in to comment.