mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-04 08:47:54 +00:00
Remove some debug print statements
This commit is contained in:
parent
39cf8a0185
commit
8cdaea82c0
2 changed files with 0 additions and 5 deletions
|
@ -57,7 +57,6 @@ class Preset:
|
|||
if text:
|
||||
preset_text = text
|
||||
elif preset_path:
|
||||
print(self.preset_path)
|
||||
self.preset_path = preset_path
|
||||
with open(self.preset_path, "r", encoding="utf-8") as file:
|
||||
preset_text = file.read()
|
||||
|
@ -113,8 +112,6 @@ class Preset:
|
|||
else:
|
||||
plugins_list = plugins_list.save()
|
||||
|
||||
print(self.preset_path)
|
||||
|
||||
with open(
|
||||
self.preset_path,
|
||||
"w",
|
||||
|
|
|
@ -30,10 +30,8 @@ class Repo:
|
|||
self.presets = self.get_presets()
|
||||
|
||||
def get_presets(self):
|
||||
print("get presets in Repo")
|
||||
presets = {}
|
||||
for preset in os.listdir(self.path):
|
||||
print(preset)
|
||||
if preset.endswith(".json"):
|
||||
presets[preset[:-5]] = Preset(os.path.join(self.path, preset))
|
||||
return presets
|
||||
|
|
Loading…
Reference in a new issue