Skip to content

Commit

Permalink
work with windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thenewguy committed Dec 24, 2013
1 parent 73629d0 commit ea5f161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stamps/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from ConfigParser import NoOptionError, NoSectionError, SafeConfigParser
import os
import urlparse, urllib


VERSION = 31
Expand Down Expand Up @@ -68,7 +69,7 @@ def __init__(self, integration_id=None, username=None, password=None,
file_name = "stamps_v{0}.wsdl".format(VERSION)

wsdl = os.path.join(directory_path, "wsdls", file_name)
self.wsdl = "file://{0}".format(wsdl)
self.wsdl = urlparse.urljoin('file:', urllib.pathname2url(wsdl))

if self.port is None:
self.port = "SwsimV{0}Soap12".format(VERSION)
Expand Down

0 comments on commit ea5f161

Please sign in to comment.