From 78af8ceaca58a1b0ebde63260aa5105d27a61378 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 27 Oct 2016 18:57:15 +0100 Subject: [PATCH] Fixed open_url(). --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e81f996..935e979 100644 --- a/app.py +++ b/app.py @@ -111,7 +111,7 @@ def create_avatar(url, bgfile, fgfile): cutoff = float(bg.width) / 1.5 # Get provided image. - fd = open_url(url) + fd = bot.open_url(url) if fd is None: log.debug('Failed to open URL {} for avatar creation'.format(url)) return None -- 2.7.4