Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 239e68ef53f3057e5f7f0ed4443865b9 > files > 3

pymol-1.6.0-1.20130620svn4032.fc18.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