From f9e26ed9f59925ff1fce2949ad3fc2f6b4ad70fa Mon Sep 17 00:00:00 2001 From: Anon Date: Thu, 1 Sep 2022 00:06:24 -0700 Subject: [PATCH] Removed unused switch that could cause a crash. --- src/main.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main.py b/src/main.py index bd68c6b..d88a3c6 100755 --- a/src/main.py +++ b/src/main.py @@ -67,10 +67,6 @@ class YandereBot(yandere_bot.YandereBot): "DATE", date_fmt, current_time.strftime(date_fmt) )) - def dump_pictures(self): - for ele in self.listPictures: - print(ele.get_full_string()) - def set_delay_d(self, d): try: t = datetime.datetime.strptime(d, self.settings_time["date_format"]) @@ -185,7 +181,6 @@ def main(): parser.add_argument("-d", "--date", help="Wait for date before posting first image", default=None) parser.add_argument("-i", "--index", help="Start at index (only matters if profile select is set to sequential)", default=0) parser.add_argument("-c", "--config", help="Set custom config file (Default: {})".format(default_cfg), default=default_cfg) - parser.add_argument("-o", "--output-hashes", help="Output list of hashes", action="store_true") parser.add_argument("-h", "--help", help="Show this help message and exit", action="store_true") parser.add_argument("remainder", help=argparse.SUPPRESS, nargs=argparse.REMAINDER) arguments = parser.parse_args() @@ -229,11 +224,6 @@ def main(): print() return 0 - # Output all of the images in the bot's picture list - if arguments.output_hashes: - yandere.dump_pictures() - return 0 - # Setup exit calls # Must be done after we declare our bot(s), otherwise this will be called if quitting on decrypting settings ) def yandere_quit(signo, _frame):