Sets the location of the settings file :param filename: The name of the file to use. Can be a full path and filename or just filename :type filename: (str or None) :param path: The folder that the settings file will be stored in. Do not include the filename.
(self, filename=None, path=None)
| 22594 | return (full_filename, path, filename) |
| 22595 | |
| 22596 | def set_location(self, filename=None, path=None): |
| 22597 | """ |
| 22598 | Sets the location of the settings file |
| 22599 | |
| 22600 | :param filename: The name of the file to use. Can be a full path and filename or just filename |
| 22601 | :type filename: (str or None) |
| 22602 | :param path: The folder that the settings file will be stored in. Do not include the filename. |
| 22603 | :type path: (str or None) |
| 22604 | """ |
| 22605 | cfull_filename, cpath, cfilename = self._compute_filename(filename=filename, path=path) |
| 22606 | |
| 22607 | self.filename = cfilename |
| 22608 | self.path = cpath |
| 22609 | self.full_filename = cfull_filename |
| 22610 | |
| 22611 | def get_filename(self, filename=None, path=None): |
| 22612 | """ |
no test coverage detected