mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +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)
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user