Skip to content

Commit

Permalink
fix #62
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwinsemius committed Apr 7, 2024
1 parent 455254f commit 192a92c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
release:
types:
- published
push:
tags:
- v*
# push:
# tags:
# - v*
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion nodeorc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""NodeORC: Automated edge and cloud image-based discharge estimation with OpenRiverCam"""
import os
__version__ = "0.1.1"
__version__ = "0.1.2"

__home__ = os.path.join(os.path.expanduser("~"), ".nodeorc")
if not(os.path.isdir(__home__)):
Expand Down
4 changes: 2 additions & 2 deletions nodeorc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ def is_file_size_changing(fn, delay=1):


def reboot_now():
os.system("/sbin/shutdown -r now")
os.system("/sbin/shutdown now")
# in case this fails, do a sudo shutdown
os.system("sudo /sbin/shutdown -r now")
os.system("sudo /sbin/shutdown now")

0 comments on commit 192a92c

Please sign in to comment.