mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 19:03:46 +03:00
Revert layer being a property
This commit is contained in:
parent
aea10b103b
commit
b14a7d9e68
|
@ -83,8 +83,8 @@ class TLGenerator:
|
|||
builder.writeln('from . import types, functions')
|
||||
builder.writeln()
|
||||
|
||||
# Create a read-only property to indicate which layer this is
|
||||
builder.writeln('LAYER = property(fget=lambda: {})'.format(
|
||||
# Create a constant variable to indicate which layer this is
|
||||
builder.writeln('LAYER = {}'.format(
|
||||
TLParser.find_layer(scheme_file))
|
||||
)
|
||||
builder.writeln()
|
||||
|
|
Loading…
Reference in New Issue
Block a user