some renames and other changes
This commit is contained in:
0
apps/app1/subdir/__init__.py
Normal file
0
apps/app1/subdir/__init__.py
Normal file
@@ -1,6 +1,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
|
||||
class Foo(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'Initialized from {__file__}')
|
||||
|
||||
self.log(f'Initialized app from {Path(__file__).relative_to(self.AD.app_dir.parent)}')
|
||||
# self.log(' FOO '.center(50, '-'))
|
||||
|
||||
Reference in New Issue
Block a user