summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-01-31 09:15:08 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-01-31 09:15:08 +1030
commit46990513a0528eee0561fa7cee2f591c9f81bb96 (patch)
tree5c5e45c5c2f489618185fafeb84e4eecb0b39367
parent51d49250ca01b6545fc6d0515d696b9f157b85bc (diff)
downloadurlopen-46990513a0528eee0561fa7cee2f591c9f81bb96.tar.gz
urlopen-46990513a0528eee0561fa7cee2f591c9f81bb96.zip
fixed missing ;'s
-rwxr-xr-xurlopen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urlopen.py b/urlopen.py
index 21bd78c..1e70844 100755
--- a/urlopen.py
+++ b/urlopen.py
@@ -15,8 +15,8 @@ def main(args):
defaultapp = ["/home/daniel_j/compiled/waterfox/waterfox"];
x = 0;
for each in args:
- parsed_uri = urlparse(each)
- domain = '{uri.scheme}://{uri.netloc}/'.format(uri=parsed_uri)
+ parsed_uri = urlparse(each);
+ domain = '{uri.scheme}://{uri.netloc}/'.format(uri=parsed_uri);
if (each.endswith(tuple(images))):
print("image {}".format(each));
run(imageapp, each);