Skip to content

Commit d9487e6

Browse files
committed
Merge pull request python-fedex-devs#15 from devfeng/master
Fix for Windows path to WSDL issue.
2 parents d6b209a + bc534f9 commit d9487e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fedex/base_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(self, config_obj, wsdl_name, *args, **kwargs):
8181
self.logger.info("Using production server.")
8282
self.wsdl_path = os.path.join(config_obj.wsdl_path, wsdl_name)
8383

84-
self.client = Client('file://%s' % self.wsdl_path)
84+
self.client = Client('file:///%s' % self.wsdl_path.lstrip('/'))
8585

8686
#print self.client
8787

0 commit comments

Comments
 (0)