deprecated logger.warn

pull/14/head
sezanzeb 4 years ago
parent 7f1d26aee7
commit 000b8bbd6a

@ -58,7 +58,7 @@ if __name__ == '__main__':
atexit.register(stop_injecting)
if getpass.getuser() != 'root' and 'unittest' not in sys.modules.keys():
logger.warn('Without sudo, your devices may not be visible')
logger.warning('Without sudo, your devices may not be visible')
ErrorDialog(
'Warning',
'Without sudo, your devices may not be visible'

Loading…
Cancel
Save