Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just use this in the config! dont translate #78

Open
github-actions bot opened this issue Jul 21, 2021 · 0 comments
Open

just use this in the config! dont translate #78

github-actions bot opened this issue Jul 21, 2021 · 0 comments
Labels

Comments

@github-actions
Copy link

just use this in the config! dont translate

https://github.com/pyonair/PyonAir-pycom/blob/9fcaa24dabe3cf0b380c32b1baac3f88a1cfe5e7/code/lib/initialisation.py#L165

                os.mkdir(s.root_path + directory)

        # Create Averages directory in /sd/Archive/ directory
        #if s.archive_averages not in os.listdir(s.root_path + s.archive):
        #    os.mkdir(s.archive_path + s.archive_averages)


    def remove_residual_files(self):
        """
        Removes residual files from the last boot in the current and processing dirs
        """
        #TODO: clean up ? do we need it now that there is no archive process?
        # for path in [s.current_path, s.processing_path]:
        #     for file in os.listdir(path[:-1]):  # Strip '/' from the end of path
        #         if file != s.lora_file_name:
        #             os.remove(path + file)


    # def get_logging_level(self):
    #     """
    #     Get logging level from configurations
    #     :return: logging level
    #     :rtype: str
    #     """
    #     logging_lvl = Configuration(self.logger).get_config("logging_lvl")
    #     if logging_lvl == "Critical":
    #         return CRITICAL
    #     elif logging_lvl == "Error":
    #         return ERROR
    #     elif logging_lvl == "Warning":
    #         return WARNING
    #     elif logging_lvl == "Info":
    #         return INFO
    #     elif logging_lvl == "Debug":
    #         return DEBUG
    #     #TODO: just use this in the config! dont translate

80a24e55e3a4e12cc62699974da1f3a9be303946

@github-actions github-actions bot added the todo label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants