deprecated logger.warn

This commit is contained in:
sezanzeb 2020-11-20 21:39:09 +01:00 committed by sezanzeb
parent f91daa2fe8
commit 5e15af87be

View File

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