kopia lustrzana https://github.com/jupyterhub/repo2docker
Fix __main__ entrypoint to actually work
rodzic
e3224392e0
commit
a7d85c48fc
|
@ -1,5 +1,9 @@
|
||||||
from .app import Repo2Docker
|
from .app import Repo2Docker
|
||||||
|
|
||||||
if __name__ == '__main__':
|
def main():
|
||||||
f = Repo2Docker()
|
f = Repo2Docker()
|
||||||
|
f.initialize()
|
||||||
f.run()
|
f.run()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
Ładowanie…
Reference in New Issue