using () for a class that doesn't inherit breaks old python
This commit is contained in:
parent
64398a2b5f
commit
be6fd760f1
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def main(argv=sys.argv):
|
||||||
if list: autofile.list(environments)
|
if list: autofile.list(environments)
|
||||||
else: autofile.run(environments)
|
else: autofile.run(environments)
|
||||||
|
|
||||||
class AutostartFile():
|
class AutostartFile:
|
||||||
def __init__(self, path):
|
def __init__(self, path):
|
||||||
self.path = path
|
self.path = path
|
||||||
self.filename = os.path.basename(path)
|
self.filename = os.path.basename(path)
|
||||||
|
|
Loading…
Reference in a new issue