Skip to content

Commit ea22da1

Browse files
committed
cs_themes.py: Fix regression from 1c21371, do not escape
newlines when writing icon cache file.
1 parent 691a049 commit ea22da1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • files/usr/share/cinnamon/cinnamon-settings/modules

files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ def refresh_chooser(self, chooser, path_suffix, themes, callback):
826826

827827
with open(icon_cache_path, 'w') as cache_file:
828828
for theme_name, icon_path_val in icon_paths.items(): # Renamed icon_path to avoid conflict
829-
cache_file.write('%s:%s\\n' % (theme_name, icon_path_val))
829+
cache_file.write('%s:%s\n' % (theme_name, icon_path_val))
830830

831831
else:
832832
if path_suffix == "cinnamon":

0 commit comments

Comments
 (0)