Skip to content

Example Error #1

@skulos

Description

@skulos

Python Version

$python --version

[OUTPUT] Python 3.8.2

I ran

$python setup.py install

And the

$python example.py

Getting this error:

PRODUCTION
Traceback (most recent call last):
  File "example.py", line 11, in <module>
    print (workers + 3)
  File "C:\Users\admin\Desktop\Projects\GitHub\flag\flag\core.py", line 75, in __add__
    return self.type(self) + other
TypeError: int() argument must be a string, a bytes-like object or a number, not 'IntFlag'

LINK:

print (workers + 3)

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