diff options
-rw-r--r-- | library/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/utils.py b/library/utils.py index 9d8f6ad..001a47a 100644 --- a/library/utils.py +++ b/library/utils.py @@ -75,9 +75,9 @@ def getLinkData(url, encode=True): """ try: opener = urllib.urlopen(url) + data = opener.read() except (Exception, error): return "" - data = opener.read() if data and encode: data = data.encode("base64") return data |