foreverfm
foreverfm copied to clipboard
Running on OSX server the calls to self.__file in LiveYamlFile
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