Skip to content

Commit

Permalink
few small corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-the-shark committed Feb 24, 2018
1 parent d37485b commit 2017a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/fs_interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def read_config(path):
def cleaning_files(directory_path):
for root, dirs, files in os.walk(directory_path):
for name in files:
if name.endswith("_wykres.png") or name.endswith(
"_wykresOLD.png") or name == "obverse_preview.png" or name.endswith(".cardconfig"):
if name.endswith("wykres.png") or name.endswith(
"wykresOLD.png") or name == "obverse_preview.png" or name.endswith(".cardconfig"):
os.remove(os.path.join(root, name))
1 change: 0 additions & 1 deletion bin/obverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def generate(name, data_path, config_path):
elif i[0] == "img":
j.paste(i[1], (i[2], i[3]), False)
elif i[0] == "imgf":
print(i)
j.add_image_folder(i[1], i[2], (i[3], i[4]), False)
elif i[0] == "txt":
j.add_text((i[1], i[2]), i[3], i[5], i[6], i[4], False)
Expand Down

0 comments on commit 2017a8a

Please sign in to comment.