Skip to content

Comments

Fix Python 3.12 warnings (datetime deprecation + banner escapes)#21

Open
HackUnderway wants to merge 1 commit intoC3n7ral051nt4g3ncy:masterfrom
HackUnderway:fix-python312
Open

Fix Python 3.12 warnings (datetime deprecation + banner escapes)#21
HackUnderway wants to merge 1 commit intoC3n7ral051nt4g3ncy:masterfrom
HackUnderway:fix-python312

Conversation

@HackUnderway
Copy link

This PR fixes warnings when running on modern Python versions (Python 3.12+):

  • Removes SyntaxWarning caused by ASCII banner escape sequences
  • Replaces deprecated datetime.utcfromtimestamp() with timezone-aware
    datetime.fromtimestamp(..., datetime.UTC)

No functional changes were made. Output and behavior remain the same.
Tested on Kali Linux / Python 3.12.

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.

1 participant