MCPcopy Create free account
hub / github.com/ActiveState/code / main

Function main

recipes/Python/577638_File_Share_Messenger_25/recipe-577638.py:1334–1342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1332# This code provides error logging facilities.
1333
1334def main():
1335 # Figure out where files should be stored.
1336 public_path = os.path.join('Message Storage', 'V2.5')
1337 private_path = os.path.join('..', 'FSM Settings')
1338 # Execute the main class (static) function of FSM.
1339 with capture_stderr() as stderr:
1340 FSM.main(public_path, private_path)
1341 # Cleanup stderr and save and errors to file.
1342 record(stderr, private_path, 'errorlog.pickle')
1343
1344@contextlib.contextmanager
1345def capture_stderr():

Callers 1

recipe-577638.pyFile · 0.70

Calls 4

capture_stderrFunction · 0.85
recordFunction · 0.85
joinMethod · 0.45
mainMethod · 0.45

Tested by

no test coverage detected