diff --git a/oml/tor.py b/oml/tor.py index d9600e6..f902b87 100644 --- a/oml/tor.py +++ b/oml/tor.py @@ -47,6 +47,8 @@ ControlPort 9831 CookieAuthentication 1 '''.strip()) tor_data = os.path.join(settings.data_path, 'TorData') + if sys.platform == 'win32': + tor_data = os.path.normpath(tor_data).replace(os.SEP, '/') if not os.path.exists(torrc): with open(torrc, 'w') as fd: fd.write('''