Modified comment

This commit is contained in:
Anon 2023-08-24 23:49:28 -07:00
parent bcfa8778ab
commit 116e8ef72b

View File

@ -73,7 +73,7 @@ class YandereBot(FediBot.YandereBot):
self.load_picture_list() self.load_picture_list()
super(YandereBot, self).prime_bot() super(YandereBot, self).prime_bot()
# Returns a list of media paths (without the hashes) # Returns a list of media paths
def get_media_list(self, picked): def get_media_list(self, picked):
ext = self.settings["settings_behavior"]["multi_media_ext"] ext = self.settings["settings_behavior"]["multi_media_ext"]
if not picked: if not picked:
@ -84,7 +84,7 @@ class YandereBot(FediBot.YandereBot):
else: else:
return [picked.get_path()] return [picked.get_path()]
# A callback function for get_list_of_hashes_with_profiles() that returns a single profile from @param hash_obj # A callback function for that returns a single profile from
def get_profile(self, p): def get_profile(self, p):
profiles = self.settings["settings_post"] profiles = self.settings["settings_post"]
profile_default = self.settings["settings_post_default"] profile_default = self.settings["settings_post_default"]
@ -102,7 +102,6 @@ class YandereBot(FediBot.YandereBot):
except FileNotFoundError: except FileNotFoundError:
raise MissingMasterList raise MissingMasterList
# Maybe I should remove this from the backend?
def print_header_stats(self, picked): def print_header_stats(self, picked):
picked_profile, _picked = [None]*2 picked_profile, _picked = [None]*2
line = self.currentLine line = self.currentLine