Фикс бага, при старте системы, когда отсутствует
файл в /tmp
This commit is contained in:
parent
1e395280e4
commit
25d1beec98
1 changed files with 8 additions and 2 deletions
8
main.py
8
main.py
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
from func import *
|
from func import *
|
||||||
|
|
||||||
if __name__ == '__main__':
|
def start():
|
||||||
|
try:
|
||||||
kill()
|
kill()
|
||||||
|
except FileNotFoundError:
|
||||||
setWallPeper()
|
setWallPeper()
|
||||||
|
setWallPeper()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
start()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue