Commit 7a7e5b66 by Serbaf

removed fstrings

parent 52a21857
...@@ -58,3 +58,5 @@ Version 0.4.3: ...@@ -58,3 +58,5 @@ Version 0.4.3:
Updated tweetmanager dependency to current version (1.1.5) Updated tweetmanager dependency to current version (1.1.5)
Version 0.4.4: Version 0.4.4:
Fixed another requirement error Fixed another requirement error
Version 0.4.5:
Changed f-strings to traditional strings for reasons of compatibility
...@@ -51,6 +51,6 @@ setup( ...@@ -51,6 +51,6 @@ setup(
test_suite='tests', test_suite='tests',
tests_require=test_requirements, tests_require=test_requirements,
url='https://github.com/Serbaf/tweet_model', url='https://github.com/Serbaf/tweet_model',
version='0.4.4', version='0.4.5',
zip_safe=False, zip_safe=False,
) )
...@@ -425,7 +425,7 @@ def get_tweets_from_csv(csv_file): ...@@ -425,7 +425,7 @@ def get_tweets_from_csv(csv_file):
for component in field_components: for component in field_components:
error_string += component error_string += component
if (checking_dict is None) or (component not in checking_dict): if (checking_dict is None) or (component not in checking_dict):
logger.error(f'The field in the header "{error_string}" ' + logger.error('The field in the header ' + error_string +
'is not a valid element of a Tweet') 'is not a valid element of a Tweet')
raise NotValidTweetError("Header contains field which doesn't" raise NotValidTweetError("Header contains field which doesn't"
+ " belong to tweet specification: " + " belong to tweet specification: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment