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

fix: duplicate formats in input #146

Conversation

DeltaDaniel
Copy link
Contributor

No description provided.

@@ -84,7 +84,8 @@ def main(
"💡 UTILMD is not available for format versions 2310 and above. Parse UTILMDS and UTILMDG instead."
)
message_format.remove(EdifactFormat.UTILMD)
message_format.extend([EdifactFormat.UTILMDG, EdifactFormat.UTILMDS])
message_format.extend([EdifactFormat.UTILMDG, EdifactFormat.UTILMDS, EdifactFormat.UTILMDW])
message_format = list(set(message_format))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verlierst du dadurch die sortierung? ws. nicht wichtig?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Sortierung ist da nicht wichtig. Die Idee ist nur, dass im default Case (alle Formate inkl UTILMD und UTILMDS/UTILMDG) nichts doppelt ist. :)

@DeltaDaniel DeltaDaniel merged commit cb58f12 into main Sep 3, 2024
15 checks passed
@DeltaDaniel DeltaDaniel deleted the 145-failure-in-fv2504-cannot-access-local-variable-latest_file-where-it-is-not-associated-with-a-value branch September 3, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failure in FV2504: cannot access local variable 'latest_file' where it is not associated with a value
2 participants