mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Added loging on restart function.
This commit is contained in:
@@ -436,6 +436,7 @@ class Headphones:
|
|||||||
shutdown.exposed = True
|
shutdown.exposed = True
|
||||||
|
|
||||||
def restart(self):
|
def restart(self):
|
||||||
|
logger.log(u"Restarting Headphones.")
|
||||||
restart = True
|
restart = True
|
||||||
#answer = raw_input("Do you want to restart this program ? ")
|
#answer = raw_input("Do you want to restart this program ? ")
|
||||||
#if answer.strip() in "y Y yes Yes YES".split():
|
#if answer.strip() in "y Y yes Yes YES".split():
|
||||||
|
|||||||
Reference in New Issue
Block a user