From a95f9a74fad5a246aac20203d10e37f551357481 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 5 Oct 2020 15:52:50 +0200 Subject: Fix shebang in prefab scripts --- database/prefab.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'database/prefab.py') diff --git a/database/prefab.py b/database/prefab.py index 124f45e3..b993c7f0 100755 --- a/database/prefab.py +++ b/database/prefab.py @@ -1,4 +1,4 @@ -#!/Users/jacobburley/thesis-src/opendc/mongodb/opendc_testing/bin/python3 +#!/usr/bin/env python3 #Change shebang to /usr/bin/python3 before using with docker # encoding: utf-8 """ @@ -17,7 +17,7 @@ def usage(): print(" clone [new prefab name]: clones the specified prefab, giving the new prefab a name if specified") print(" remove : removes the specified prefab from the database") -def interactive(): #interactive CLI mode: recommended +def interactive(): #interactive CLI mode: recommended print("OpenDC Prefab CLI") running = True while(exit): @@ -105,8 +105,8 @@ def main(): else: # print "Incorrect number of arguments!\n" - print("prefabs: try 'prefabs help' for more information\n") + print("prefabs: try 'prefabs help' for more information\n") if __name__ == "__main__": - main() \ No newline at end of file + main() -- cgit v1.2.3