diff --git a/build.sh b/build.sh index 8c52c42..85aba52 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -python3 new.py +python3 colors.py rclone copy build prazevps:/var/www/tcg/public -P -L diff --git a/new.py b/colors.py similarity index 99% rename from new.py rename to colors.py index 317ac07..bfc48e9 100644 --- a/new.py +++ b/colors.py @@ -988,7 +988,7 @@ def crayonlog(colour,event): crayonstring = str(crayonno) + " " + crayonrend return crayonstring -def showdupes(): +def dupes(): dupeslist = [] previouscard = "" for card in cardlist: diff --git a/setup.py b/setup.py index 0a10f24..babed81 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import variables buildscript = open("build.sh","w") -buildscript.write("#!/usr/bin/env bash\n\npython3 new.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L") +buildscript.write("#!/usr/bin/env bash\n\npython3 colors.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L") buildscript.close() if not os.path.exists("build/user.css"):