mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-02 15:40:19 +00:00
deprecated logger.warn
This commit is contained in:
parent
f91daa2fe8
commit
5e15af87be
@ -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…
Reference in New Issue
Block a user