Skip to content

Commit 1910f68

Browse files
Patrick Boucherrobblau
authored andcommitted
Reverts image upload default field name change.
1 parent f680acd commit 1910f68

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Integration and unit tests are provided.
5353

5454
## Changelog
5555

56-
**v3.0.29.dev - TBD**
56+
**v3.0.29 - 2016 Mar 7**
5757

58-
+ TBD
58+
+ Reverted the change to the default field names for image uploading.
5959

6060
**v3.0.28 - 2016 Mar 3**
6161

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='shotgun_api3',
20-
version='3.0.29.dev',
20+
version='3.0.29',
2121
description='Shotgun Python API ',
2222
long_description=readme,
2323
author='Shotgun Software',

shotgun_api3/shotgun.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
# ----------------------------------------------------------------------------
8080
# Version
81-
__version__ = "3.0.29.dev"
81+
__version__ = "3.0.29"
8282

8383
# ----------------------------------------------------------------------------
8484
# Errors
@@ -1426,7 +1426,7 @@ def upload_thumbnail(self, entity_type, entity_id, path, **kwargs):
14261426
:returns: Id of the new attachment
14271427
"""
14281428
return self.upload(entity_type, entity_id, path,
1429-
field_name="image", **kwargs)
1429+
field_name="thumb_image", **kwargs)
14301430

14311431
def upload_filmstrip_thumbnail(self, entity_type, entity_id, path, **kwargs):
14321432
"""Convenience function for uploading filmstrip thumbnails.
@@ -1444,7 +1444,7 @@ def upload_filmstrip_thumbnail(self, entity_type, entity_id, path, **kwargs):
14441444
"higher, server is %s" % (self.server_caps.version,))
14451445

14461446
return self.upload(entity_type, entity_id, path,
1447-
field_name="filmstrip_image", **kwargs)
1447+
field_name="filmstrip_thumb_image", **kwargs)
14481448

14491449
def upload(self, entity_type, entity_id, path, field_name=None,
14501450
display_name=None, tag_list=None):

0 commit comments

Comments
 (0)