Added photo next_previous option argument.

Moved options_string slash to the start of the string.
This commit is contained in:
sneakypete81 2013-09-15 08:50:26 +01:00
parent 9507abdd08
commit 3a13d13c42
5 changed files with 44 additions and 26 deletions

View file

@ -16,7 +16,7 @@ class ApiBase(object):
option_string = ""
if options is not None:
for key in options:
option_string += "%s-%s/" % (key, options[key])
option_string += "/%s-%s" % (key, options[key])
return option_string
@staticmethod