Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #30 from edtanous/master
Browse files Browse the repository at this point in the history
Make kivy-designer handle windows paths correctly.
  • Loading branch information
akshayaurora committed Oct 22, 2013
2 parents af8e12c + cbd7185 commit 05bc097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designer/project_loader.py
Expand Up @@ -1011,7 +1011,7 @@ def _import_module(self, s, _file, _fromlist=[]):
sys.modules['AppModule'] = module
return module

module_name = _file[_file.rfind('/')+1:].replace('.py', '')
module_name = _file[_file.rfind(os.sep)+1:].replace('.py', '')
if module_name in sys.modules:
del sys.modules[module_name]

Expand Down

0 comments on commit 05bc097

Please sign in to comment.