16 lines
320 B
Python
Executable File
16 lines
320 B
Python
Executable File
#!/usr/bin/env python
|
|
"""
|
|
Utility configured as apinotifypath in bitmessagesettings
|
|
when pybitmessage started in test mode.
|
|
"""
|
|
|
|
import sys
|
|
import tempfile
|
|
|
|
from common import put_signal_file
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if sys.argv[1] == 'startingUp':
|
|
put_signal_file(tempfile.gettempdir(), '.api_started')
|