summaryrefslogtreecommitdiff
path: root/photoblaster/param/img_url.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-01 14:03:47 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-01 14:03:47 +0200
commitfdff91803dd98eb9f14151e0a3550657a60afead (patch)
tree10da103514d8df2b96ad4b3c433d5ad17dce45c5 /photoblaster/param/img_url.py
parentfb1566ce977942b7e6c509c941d2bb42e55a31dc (diff)
trying to get username in
Diffstat (limited to 'photoblaster/param/img_url.py')
-rw-r--r--photoblaster/param/img_url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/photoblaster/param/img_url.py b/photoblaster/param/img_url.py
index e8b6a45..da3c62b 100644
--- a/photoblaster/param/img_url.py
+++ b/photoblaster/param/img_url.py
@@ -9,7 +9,7 @@ from subprocess import Popen, PIPE
class Img_url(Param):
- def __init__(self, value, key="", classname="", module=None):
+ def __init__(self, value, key="", classname="", module=None, username=""):
"""Defines the float param type.
Takes in a url, sends a get request to the url, writes the response
to a temporary filename, and checks the mimetype with imagemagick.