summaryrefslogtreecommitdiff
path: root/database/prefab.py
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-05 15:52:50 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-05 16:26:28 +0200
commita95f9a74fad5a246aac20203d10e37f551357481 (patch)
treeba35e5283491d6931a7a2300500e71ce6c52d09a /database/prefab.py
parent379d307ddde8890d63108a88a6b05eccb4a9e729 (diff)
Fix shebang in prefab scripts
Diffstat (limited to 'database/prefab.py')
-rwxr-xr-xdatabase/prefab.py8
1 files changed, 4 insertions, 4 deletions
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 <prefab> [new prefab name]: clones the specified prefab, giving the new prefab a name if specified")
print(" remove <prefab>: 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()