From f2bf06d82ca8f88e8befc4dba1cb2975a5447a74 Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 13 Mar 2018 23:44:52 +0100 Subject: [PATCH] fix function name --- tools/removeScreenFromIgnoreList.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/removeScreenFromIgnoreList.py b/tools/removeScreenFromIgnoreList.py index 163c5928..c755246d 100755 --- a/tools/removeScreenFromIgnoreList.py +++ b/tools/removeScreenFromIgnoreList.py @@ -1,7 +1,7 @@ #!/bin/python import os -def addScreenToIgnoreList(ignoreFileName = '/tmp/fenrirSuspend', screen = '1', useCurrentScreen = True): +def removeScreenFromIgnoreList(ignoreFileName = '/tmp/fenrirSuspend', screen = '1', useCurrentScreen = True): if useCurrentScreen: tty = open('/sys/devices/virtual/tty/tty0/active','r') screen = str(tty.read()[3:-1]) @@ -23,4 +23,4 @@ def addScreenToIgnoreList(ignoreFileName = '/tmp/fenrirSuspend', screen = '1', u fp.write(ignoreScreensStr) if __name__ == "__main__": - addScreenToIgnoreList() + removeScreenFromIgnoreList()