Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit be94f71

Browse files
committed
Python 3 fix for #99 and documentation
1 parent 178731e commit be94f71

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docs/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
---------
33

4+
1.0.1
5+
-----
6+
7+
* Python 3.4 testing
8+
* 400MB upload limit to match DocumentCloud's API restrictions
9+
410
1.0.0
511
~~~~~
612

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# The short X.Y version.
5454
version = '1.0.0'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '1.0.0'
56+
release = '1.0.1'
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.

documentcloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def upload(
264264
try:
265265
size = os.fstat(pdf.fileno()).st_size
266266
except:
267-
size = None
267+
size = 0
268268
params = {'file': pdf}
269269
else:
270270
size = os.path.getsize(pdf)

0 commit comments

Comments
 (0)