Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Comment and indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HairyFotr committed Jul 4, 2015
1 parent d72107d commit 13dcf0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/plugins/nsfw_image_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def _get_skin_ratio_percentage(self, file_path):
im = im.convert('RGB')

im = im.crop((int(im.size[0] * 0.2), int(im.size[1] * 0.2),
im.size[0] - int(im.size[0] * 0.2),
im.size[1] - int(im.size[1] * 0.2)))
im.size[0] - int(im.size[0] * 0.2),
im.size[1] - int(im.size[1] * 0.2)))

colors = im.getcolors(im.size[0] * im.size[1])

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/psywerx_karma.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def pf(number):
karmas = pf(p['karma'])
if int(p['karma']) < 2:
continue
# insert sleep to prevent flods
# insert sleep to prevent floods
self.bot.say(str(p['nick']) + " " + str(max(karmas)) +
" (" + str(p['karma']) + "=" +
"*".join(map(str, karmas)) + ")", channel)
Expand Down

0 comments on commit 13dcf0b

Please sign in to comment.