foreverfm icon indicating copy to clipboard operation
foreverfm copied to clipboard

Running on OSX server the calls to self.__file in LiveYamlFile

Open MikeiLL opened this issue 11 years ago • 0 comments

weren't resolving. workaround:

        try:
            target_file = open(self.__file)
        except IOError:
            target_file = open("/" + self.__file) # add "/" cause of error on osx

and further down...

             try:
                fmod_time = os.stat(self.__file)[9] 
            except OSError:
                fmod_time = os.stat("/" + self.__file)[9] # added "/" cause error on osx

MikeiLL avatar Sep 24 '14 20:09 MikeiLL