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 44 Aspose.PDF Cloud API Reference
55
66
7- Copyright (c) 2018 Aspose.PDF Cloud
7+ Copyright (c) 2019 Aspose.PDF Cloud
88 Permission is hereby granted, free of charge, to any person obtaining a copy
99 of this software and associated documentation files (the "Software"), to deal
1010 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):
682682 )
683683
684684 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 )
686686 if match :
687- dt = datetime .utcfromtimestamp (int (match [ 1 ] ))
687+ dt = datetime .utcfromtimestamp (int (match . group ( 1 ) ))
688688 return dt
689689 else :
690690 return None
Original file line number Diff line number Diff line change 44 Aspose.PDF Cloud API Reference
55
66
7- Copyright (c) 2018 Aspose.PDF Cloud
7+ Copyright (c) 2019 Aspose.PDF Cloud
88 Permission is hereby granted, free of charge, to any person obtaining a copy
99 of this software and associated documentation files (the "Software"), to deal
1010 in the Software without restriction, including without limitation the rights
@@ -66,7 +66,6 @@ def uploadFile(self, name):
6666
6767 def tearDown (self ):
6868 pass
69-
7069
7170 # Annotations Tests
7271
@@ -3839,7 +3838,6 @@ def testGetDiscUsage(self):
38393838 response = self .pdf_api .get_disc_usage ()
38403839 self .assertEqual (response .code , 200 )
38413840
3842-
38433841 def testGetListFileVersion (self ):
38443842 file_name = '4pages.pdf'
38453843 self .uploadFile (file_name )
You can’t perform that action at this time.
0 commit comments