Skip to content

Commit

Permalink
fix strings for python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
karolzak committed Sep 7, 2020
1 parent e67d583 commit f9a13c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pre_commit_nb/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ def process_nb(
)

if response_status >= 200 and response_status < 300:
print(f"Successfully uploaded image to blob storage: {url_path}") # NOQA E501
print("Successfully uploaded image to blob storage: " + url_path) # NOQA E501
else: # pragma: no cover
print(f"Uploading process failed with response code: {response_status}") # NOQA E501
print("Uploading process failed with response code: " + response_status) # NOQA E501
else:
from pre_commit_nb.base64_to_image_files import (
base64_to_local_file)

print(f"Converting base64 to image file and saving as {full_path}")
print("Converting base64 to image file and saving as " + full_path)
base64_to_local_file(
base64_string, full_path
)
Expand Down

0 comments on commit f9a13c4

Please sign in to comment.