def isSignificantPublicFile(self, fn): """ This tells the AtFile.read logic whether to import a public file or use an existing public file. """ return (g.os_path_exists(fn) and g.os_path_isfile(fn) and g.os_path_getsize(fn) > 10)
def isSignificantPublicFile(self, fn): '''This tells the AtFile.read logic whether to import a public file or use an existing public file.''' return ( g.os_path_exists(fn) and g.os_path_isfile(fn) and g.os_path_getsize(fn) > 10 )