Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > 32edc0df007bccf029b42febf24c3059 > files > 3

pymol-1.5.0.2-3.20120218svn3982.fc16.src.rpm

--- modules/pymol/__init__.py_orig	2011-06-07 01:42:45.977841339 -0700
+++ modules/pymol/__init__.py	2011-06-07 01:43:00.516692064 -0700
@@ -142,7 +142,7 @@
                 if (pymol_file[0:1] not in [ '\\', '/' ]) and pymol_file[1:2]!=':': 
                     pymol_file = os.getcwd()+"/"+pymol_file # make path absolute
 
-                pymol_path = re.sub(r"[\/\\][^\/\\]*$","/pymol_path",pymol_file)
+                pymol_path = re.sub(r"[\/\\][^\/\\]*$","",pymol_file)
 
                 if os.path.isdir(pymol_path):
                     os.environ['PYMOL_PATH'] = pymol_path