Skip to content

Commit

Permalink
created nicer prints
Browse files Browse the repository at this point in the history
  • Loading branch information
aardschok committed Nov 10, 2017
1 parent 287304b commit a9a05aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions launcher/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def launch_explorer(self):
migrate to another module"""
# Todo: find a cleaner way, with .toml file for example

print(">>> Explorer ...")
print("Openiing Explorer")

# Get the current environment
frame = self.current_frame()
Expand All @@ -318,7 +318,7 @@ def launch_explorer(self):
# When we are outside of any project, do nothing
config = frame.get("config", None)
if config is None:
print(">>> No project found in configuration")
print("No project found in configuration")
return

template = config['template']['work']
Expand All @@ -327,7 +327,7 @@ def launch_explorer(self):
# Keep only the part of the path that was formatted
path = os.path.normpath(path.split("{", 1)[0])

print(">>>", path)
print(path)
if os.path.exists(path):
import subprocess
subprocess.Popen(r'explorer "{}"'.format(path))
Expand Down

0 comments on commit a9a05aa

Please sign in to comment.