CC-2016: Rearrange python scripts for reusability
-fixed path issue that was happening on some systems
This commit is contained in:
parent
c254422f72
commit
17181674b7
5 changed files with 14 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
def notify(m)
|
||||
system("./notify.sh --data='#{!pypo_data}' --media-id=#{m['schedule_table_id']}")
|
||||
print("./notify.sh --data='#{!pypo_data}' --media-id=#{m['schedule_table_id']}")
|
||||
system("/opt/pypo/bin/scripts/notify.sh --data='#{!pypo_data}' --media-id=#{m['schedule_table_id']}")
|
||||
print("/opt/pypo/bin/scripts/notify.sh --data='#{!pypo_data}' --media-id=#{m['schedule_table_id']}")
|
||||
end
|
||||
|
||||
# A function applied to each metadata chunk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue