Skip to content

vmess error: #11

Description

@liMilCo

on generateConfig(vmess:// ... i get error:
An unexpected error occurred: 'int' object has no attribute 'isdigit'

so i check

line: 1160:

        vnext.port = (
            int(vmessQRCode.port) if vmessQRCode.port.isdigit() else DEFAULT_PORT
        )

i chnge it to: vnext.port = getattr(vmessQRCode, 'port', DEFAULT_PORT)

also for user.aid : user.alterId = getattr(vmessQRCode, 'aid', None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions