Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DEFAULT_FORWARDED_PORT_FILEPATH global variable has side effects #6

@Steinhagen

Description

@Steinhagen

We are happy to answer your questions about the code or discuss technical ideas.

The following commit introduces the DEFAULT_FORWARDED_PORT_FILEPATH global variable that has side effects (generates directories due to VPNExecutionEnvironment()). As a result, every time you import the core python module, the directories will be generated:
https://github.com/ProtonVPN/python-proton-vpn-api-core/commit/2bed80d42ef199ea1d8d90e13be843cae3e3850c#diff-a477ea526f47d9a15ba19e31f1e9a374bdf99f676be865d5b99563a665709cd3R26

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions