mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-10-26 10:58:28 +03:00
removing comments
This commit is contained in:
parent
8786471754
commit
f30a81cd7f
@ -122,7 +122,6 @@ class Config:
|
|||||||
def save(self):
|
def save(self):
|
||||||
"""Update the parameters and save them to the configuration file"""
|
"""Update the parameters and save them to the configuration file"""
|
||||||
|
|
||||||
print(f"ANOTHER ONE: {self.wallpaper}")
|
|
||||||
# If only certain monitor was affected, change only its wallpaper:
|
# If only certain monitor was affected, change only its wallpaper:
|
||||||
if self.selected_monitor == "All":
|
if self.selected_monitor == "All":
|
||||||
self.monitors = [self.selected_monitor]
|
self.monitors = [self.selected_monitor]
|
||||||
@ -141,7 +140,6 @@ class Config:
|
|||||||
config.add_section("Settings")
|
config.add_section("Settings")
|
||||||
config.set("Settings", "language", self.lang)
|
config.set("Settings", "language", self.lang)
|
||||||
config.set("Settings", "folder", self.image_folder)
|
config.set("Settings", "folder", self.image_folder)
|
||||||
print(f"HELLO: {self.wallpaper}")
|
|
||||||
config.set("Settings", "wallpaper", ",".join(self.wallpaper))
|
config.set("Settings", "wallpaper", ",".join(self.wallpaper))
|
||||||
config.set("Settings", "backend", self.backend)
|
config.set("Settings", "backend", self.backend)
|
||||||
config.set("Settings", "monitors", ",".join(self.monitors))
|
config.set("Settings", "monitors", ",".join(self.monitors))
|
||||||
|
Loading…
Reference in New Issue
Block a user