Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Abbe98 committed Sep 11, 2017
1 parent 62657a1 commit d02187b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bbr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_item_type(uri):

if item_type == 'Bebyggelse - miljö':
return 'm'

# if the function is still running throw an value error (item did not exist)
raise ValueError('Could not resolve type (invalid URI or URL?)', uri)
sys.exit(1)
Expand All @@ -64,7 +64,7 @@ def validate_uri(uri):
global culturalSerach
url = culturalSerach.formatUri(uri, 'rawurl')

r = requests.head(url)
r = requests.head(url)

if 200 <= r.status_code <= 399:
return True
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup
version = '0.0.1'
version = '0.0.2'
repo = 'bbr-py'

setup(
Expand Down

0 comments on commit d02187b

Please sign in to comment.