mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Fixed a bug with caching the local path to the image.
This commit is contained in:
parent
5bc8309abd
commit
abad246ab2
@ -217,9 +217,12 @@ def apply_for_widget(value, data, file_cache):
|
||||
logdata = dict()
|
||||
try:
|
||||
if value in widget_utilities:
|
||||
if value == 'wallpaperimage':
|
||||
file_cache.store(data)
|
||||
data = file_cache.get(data)
|
||||
try:
|
||||
if value == 'wallpaperimage':
|
||||
file_cache.store(data)
|
||||
data = file_cache.get(data)
|
||||
except:
|
||||
data = data
|
||||
os.environ["XDG_DATA_DIRS"] = "/usr/share/kf5:"
|
||||
#Variable for system detection of directories before files with .colors extension
|
||||
os.environ["DISPLAY"] = ":0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user