1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Exception handling has been clarified

This commit is contained in:
Valery Sinelnikov 2024-01-12 15:48:54 +04:00
parent 682797fb90
commit 4a2842b872

View File

@ -19,7 +19,7 @@
from .applier_frontend import applier_frontend, check_enabled
from util.logging import log
from util.util import get_homedir
from util.exceptions import NotUNCPathError
import os
import subprocess
import re
@ -215,7 +215,7 @@ def apply_for_wallpaper(data, file_cache, username):
try:
file_cache.store(data)
data = file_cache.get(data)
except:
except NotUNCPathError:
data = data
os.environ["XDG_DATA_DIRS"] = "/usr/share/kf5:"
#Variable for system detection of directories before files with .colors extension