Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Fix the watcher is running check bug and bump version to 0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chefsale committed Oct 5, 2020
1 parent 514f175 commit 02bea73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nearuplib/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.3
0.6.4
5 changes: 4 additions & 1 deletion nearuplib/nodelib.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ def setup_and_run(binary_path,
verbose=False,
neard_log='',
watcher=True):
if is_neard_running() or is_watcher_running():
if is_neard_running():
sys.exit(1)

if watcher and is_watcher_running():
sys.exit(1)

chain_id = get_chain_id_from_flags(init_flags)
Expand Down

0 comments on commit 02bea73

Please sign in to comment.