File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 4
4
Aspose.PDF Cloud API Reference
5
5
6
6
7
- Copyright (c) 2018 Aspose.PDF Cloud
7
+ Copyright (c) 2019 Aspose.PDF Cloud
8
8
Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
of this software and associated documentation files (the "Software"), to deal
10
10
in the Software without restriction, including without limitation the rights
Original file line number Diff line number Diff line change @@ -682,9 +682,9 @@ def __deserialize_date(self, string):
682
682
)
683
683
684
684
def __deserialize_datatime (self , string ):
685
- match = re .match (r" /Date\((\d+?)000\+0000\)/" , string )
685
+ match = re .match (r' /Date\((\d+?)000\+0000\)/' , string , flags = re . UNICODE )
686
686
if match :
687
- dt = datetime .utcfromtimestamp (int (match [ 1 ] ))
687
+ dt = datetime .utcfromtimestamp (int (match . group ( 1 ) ))
688
688
return dt
689
689
else :
690
690
return None
Original file line number Diff line number Diff line change 4
4
Aspose.PDF Cloud API Reference
5
5
6
6
7
- Copyright (c) 2018 Aspose.PDF Cloud
7
+ Copyright (c) 2019 Aspose.PDF Cloud
8
8
Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
of this software and associated documentation files (the "Software"), to deal
10
10
in the Software without restriction, including without limitation the rights
@@ -66,7 +66,6 @@ def uploadFile(self, name):
66
66
67
67
def tearDown (self ):
68
68
pass
69
-
70
69
71
70
# Annotations Tests
72
71
@@ -3839,7 +3838,6 @@ def testGetDiscUsage(self):
3839
3838
response = self .pdf_api .get_disc_usage ()
3840
3839
self .assertEqual (response .code , 200 )
3841
3840
3842
-
3843
3841
def testGetListFileVersion (self ):
3844
3842
file_name = '4pages.pdf'
3845
3843
self .uploadFile (file_name )
You can’t perform that action at this time.
0 commit comments