Skip to content

Commit

Permalink
jellify result of ŒG (fixes #84)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Dec 2, 2018
1 parent e6a0805 commit ce81ef4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jelly/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ def get_request(url):
url = (re.match(r"[A-Za-z][A-Za-z0-9+.-]*:https://", url) == None and "https://" or "") + url
response = urllib_request.request.urlopen(url).read()
try:
return response.decode('utf-8')
return list(response.decode('utf-8'))
except:
return response.decode('latin-1')
return list(response.decode('latin-1'))

def grid(array):
if depth(array) == 1:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = 'jellylanguage',
version = '0.1.27',
version = '0.1.28',
packages = [
'jelly'
],
Expand Down

0 comments on commit ce81ef4

Please sign in to comment.