Skip to content

Commit

Permalink
Add some debbuging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 1, 2018
1 parent cbf4508 commit 2d77ada
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions process
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def finalise(config, root_folder):
full_name = config['full_name']
destination = config['destination']

print(destination)
if os.path.exists(destination):
return

Expand Down Expand Up @@ -239,6 +240,10 @@ while True:

config['mtime'] = mtime
with open(config_file_name, 'w') as config_file:
import sys
print(config_file.encoding)
print(sys.stdout.encoding)
print(sys.getfilesystemencoding())
config_file.write(yaml.safe_dump(config, default_flow_style=False))

finalise(config, root_folder)
Expand Down

0 comments on commit 2d77ada

Please # to comment.