def getFileOrDirectoryTypesUnmodifiedGcode(fileName, fileTypes, wasCancelled): "Get the gcode files in the directory the file is in if directory setting is true. Otherwise, return the file in a list." if isEmptyOrCancelled(fileName, wasCancelled): return [] if isDirectorySetting(): return archive.getFilesWithFileTypesWithoutWords(fileTypes, [], fileName) return [fileName]
def getGNUTranslatorFilesUnmodified(): "Get the file types from the translators in the import plugins folder." return archive.getFilesWithFileTypesWithoutWords(getImportPluginFileNames())
def getGNUTranslatorFilesUnmodified(): "Get the file types from the translators in the import plugins folder." return archive.getFilesWithFileTypesWithoutWords( getImportPluginFileNames())