From 25d1beec98e1e18f02b686044de59e65b8df9c12 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 20 Jun 2022 09:22:02 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B1=D0=B0=D0=B3?= =?UTF-8?q?=D0=B0,=20=D0=BF=D1=80=D0=B8=20=D1=81=D1=82=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=B5=20=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D1=8B,=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=B3=D0=B4=D0=B0=20=D0=BE=D1=82=D1=81=D1=83=D1=82=D1=81?= =?UTF-8?q?=D1=82=D0=B2=D1=83=D0=B5=D1=82=20=D1=84=D0=B0=D0=B9=D0=BB=20?= =?UTF-8?q?=D0=B2=20/tmp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 870c3cc..5e0b6b0 100755 --- a/main.py +++ b/main.py @@ -2,6 +2,12 @@ from func import * -if __name__ == '__main__': - kill() +def start(): + try: + kill() + except FileNotFoundError: + setWallPeper() setWallPeper() + +if __name__ == '__main__': + start()